Namespace
Phoc – 0
Phone Compositor
Dependencies
GObject—2.0 | The base type system library |
Browse documentation |
Classes
ColorRect |
A colored rectangle to be drawn by the compositor. |
Cursor | |
CutoutsOverlay |
An overlay texture to render a devices cutouts. |
Desktop |
Desktop singleton. |
DeviceState |
Device state protocol: |
Gesture |
|
GestureDrag |
A drag gesture. |
GestureSingle |
A single touch (or mouse) gesture. |
GestureSwipe |
|
GestureZoom |
A zoom gesture. |
Input |
PhocInput handles new input devices and seats. |
InputDevice |
Abstract base class for input device like pointers or touch. |
Keybindings |
Keybindings stored in gsettings. |
Keyboard |
A keyboard input device. |
LayerShellEffects |
Additional effects for layer surfaces. |
LayerSurface |
A Layer surface backed by the wlr-layer-surface wayland protocol. |
Output |
The output region of a compositor (typically a monitor). |
OutputShield |
A shield that covers a whole |
PhoshPrivate |
Private protocol to interface with phosh. |
Pointer |
A pointer input device. |
PropertyEaser |
Eases properties of a given object. |
Renderer |
The renderer. |
Seat |
Represents a seat. |
Server |
The server singleton. |
Switch |
A switch device. E.g. a tablet mode switch or laptop lid switch. |
Tablet |
A tablet input device. |
TimedAnimation |
An animation that ends after the given period of time. |
Touch |
A touch input device. |
View |
A |
XdgSurface |
An xdg surface. |
XWaylandSurface |
An XWayland Surface. |
Interfaces
Animatable |
Something that can be animated. |
Bling |
A |
Structs
AlphaLayerSurface | |
AnyEvent | |
Box |
|
Color |
|
Config | |
DraggableLayerSurface | |
DragIcon | |
Event |
Input events. |
EventSequence |
|
GtkShell |
A minimal implementeation of gtk_shell1 protocol. |
GtkSurface | |
IdleInhibit |
Forward idle inhibit to gnome-session. |
InputMethodRelay |
The relay structure manages the relationship between text-input and input_method interfaces on a given seat. |
KeyCombo |
A combination of modifiers and a key describing a keyboard shortcut. |
LayerPopup | |
LayerSubsurface | |
Mode | |
OutputConfig | |
OutputModeConfig | |
PointerConstraint | |
SeatView | |
TabletPad | |
TabletTool | |
TouchPoint |
A touch point tracked compositor side. |
ViewChild |
A child of a |
ViewChildInterface |
Enumerations
AnimationState | |
AnimDir | |
CursorMode | |
DraggableSurfaceState |
Drag states of a draggable surface (e.g. a |
Easing | |
EventFlags |
Flags for the |
EventSequenceState |
Describes the state of a |
EventType |
Types of events. |
PhoshPrivateShellState | |
SwitchState |
State of a switch (e.g. a tablet mode or lid switch). |
TouchpadGesturePhase |
The phase of a touchpad gesture event. All gestures are guaranteed to
begin with an event of type |
ViewState |
Callbacks
FrameCallback |
Callback type for adding a function to update animations. See phoc_animatable_add_frame_callback(). |
SurfaceIterator |
Functions
handle_virtual_keyboard | |
handle_virtual_pointer | |
layer_shell_arrange | |
layer_shell_find_osk |
Checks whether the given |
layer_shell_update_focus | |
layer_shell_update_osk |
When a layer surface gets focus and there’s an OSK we need to make sure the OSK is above that layer as otherwise keyboard input isn’t possible. This can be used to adjust the OSKs layer accordingly. |
maybe_set_cursor | |
utils_compute_scale |
Compute a suitable output scale based on the physical size and resolution. |
utils_fix_transform | |
utils_rotate_child_position |
Rotate a child’s position relative to a parent. The parent size is (pw, ph), the child position is (sx, sy) and its size is (sw, sh). |
utils_rotated_bounds |
Stores the smallest box that can contain provided box after rotating it by specified rotation into *dest. |
utils_scale_box |
Scales the passed in box by scale. |
xdg_activation_v1_handle_request_activate |
Function Macros
PRIV_CONTAINER |
Returns a pointer to the instance containing the instance private
data |
PRIV_CONTAINER_P |
Returns an untyped pointer to the instance containing the instance
private data |