Class
PhocDesktop
Description [src]
final class Phoc.Desktop : GObject.Object
{
/* No available fields */
}
Desktop singleton.
Instance methods
phoc_desktop_for_each_unmanaged
Invokes unmanaged_iter on all unmanaged surfaces passing in
user_data.
phoc_desktop_get_builtin_output
Get the built-in output. This assumes there’s only one and returns the first.
phoc_desktop_get_draggable_layer_surface
Returns a draggable layer surface if layer_surface is configured as such. NULL otherwise.
phoc_desktop_get_phosh_private
Gets a handler of the phosh-private Wayland protocol implementations.
phoc_desktop_get_saved_outputs_state
Get the current target output configuration based on the currently known outputs.
phoc_desktop_insert_unmanaged
Insert the unmanaged surface into the queue of unmanaged surfaces. New unmanaged surfaces are inserted at the front so they appear on top of other unmanaged surfaces.
phoc_desktop_insert_view
Insert the view into the queue of views. New views are inserted at the front so they appear on top of other views.
phoc_desktop_layer_surface_at
Looks up the surface at lx,ly and returns the topmost surface at that position
if it is a layersurface, NULL otherwise.
phoc_desktop_move_view_to_top
Move the given view to the front of the view stack meaning that it
will be rendered on top of other views (but below move-to-top
views if view isn’t a move-to-top-view itself).
phoc_desktop_set_scale_to_fit
Turn auto scaling of all oversized toplevels on (TRUE) or off (FALSE).
phoc_desktop_set_view_always_on_top
If on_top is TRUE marks the view (and it’s children) as being
placed on top of other views. If on_top if FALSE the view will
be placed normally.
phoc_desktop_unmanaged_check_visibility
Checks if a unmanaged surface is currently visible. This is currently very pessimistic and only assumes that the unmanaged surface is not visible when covered by a fulls screen layer surface.
phoc_desktop_view_check_visibility
Checks if a view is currently visible. This is currently very pessimistic and only assumes that the view is not visible when we’re certain it is covered by other windows.
phoc_desktop_wlr_surface_at
Looks up the surface at lx,ly and returns the topmost surface at
that position (if any) and the surface-local coordinates of sx,sy
on that surface.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.