plasma_window_management
-
# org_kde_plasma_window_management
This interface manages application windows. It provides requests to show and hide the desktop and emits an event every time a window is created so that the client can use it to manage the window. Only one client can bind this interface at a time. Warning! The protocol described in this file is a desktop environment implementation detail. Regular clients must not use this protocol. Backward incompatible changes may be added without bumping the major version of the extension.Requests
-
void org_kde_plasma_window_management_show_desktop(struct org_kde_plasma_window_management* org_kde_plasma_window_management,uint32_t state /* requested state */)Tell the compositor to show/hide the desktop.
-
struct org_kde_plasma_window* org_kde_plasma_window_management_get_window(struct org_kde_plasma_window_management* org_kde_plasma_window_management,uint32_t internal_window_id /* The internal window id of the window to create */)Deprecated: use get_window_by_uuid
-
struct org_kde_plasma_window* org_kde_plasma_window_management_get_window_by_uuid(struct org_kde_plasma_window_management* org_kde_plasma_window_management,const char* internal_window_uuid /* The internal window uuiid of the window to create */)
-
struct org_kde_plasma_stacking_order* org_kde_plasma_window_management_get_stacking_order(struct org_kde_plasma_window_management* org_kde_plasma_window_management)
Events
-
uint32_t state /* new state */This event will be sent whenever the show desktop mode changes. E.g. when it is entered or left. On binding the interface the current state is sent.
-
uint32_t id /* Deprecated: internal window Id */This event will be sent immediately after a window is mapped.
-
struct wl_array* ids /* internal windows id array */This event will be sent when stacking order changed and on bind. With version 17 this event is deprecated and will no longer be sent.
-
const char* uuids /* internal windows id ;-separated */This event will be sent when stacking order changed and on bind. With version 17 this event is deprecated and will no longer be sent.
-
uint32_t id /* Deprecated: internal window Id */const char* uuid /* internal window uuid */This event will be sent immediately after a window is mapped.
-
This event will be sent when stacking order changed.
Enums
-
ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_ACTIVEORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_MINIMIZEDORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_MAXIMIZEDORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_FULLSCREENORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_KEEP_ABOVEORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_KEEP_BELOWORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_ON_ALL_DESKTOPSORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_DEMANDS_ATTENTIONORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_CLOSEABLEORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_MINIMIZABLEORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_MAXIMIZABLEORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_FULLSCREENABLEORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_SKIPTASKBARORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_SHADEABLEORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_SHADEDORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_MOVABLEORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_RESIZABLEORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_VIRTUAL_DESKTOP_CHANGEABLEORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_SKIPSWITCHER
-
ORG_KDE_PLASMA_WINDOW_MANAGEMENT_SHOW_DESKTOP_DISABLEDORG_KDE_PLASMA_WINDOW_MANAGEMENT_SHOW_DESKTOP_ENABLED
-
-
# org_kde_plasma_window
Manages and control an application window. Only one client can bind this interface at a time.Requests
-
void org_kde_plasma_window_set_state(struct org_kde_plasma_window* org_kde_plasma_window,uint32_t flags, /* bitfield of set state flags */uint32_t state /* bitfield of state flags */)Set window state. Values for state argument are described by org_kde_plasma_window_management.state and can be used together in a bitfield. The flags bitfield describes which flags are supposed to be set, the state bitfield the value for the set flags
-
void org_kde_plasma_window_set_virtual_desktop(struct org_kde_plasma_window* org_kde_plasma_window,uint32_t number /* zero based virtual desktop number */)Deprecated: use enter_virtual_desktop Maps the window to a different virtual desktop. To show the window on all virtual desktops, call the org_kde_plasma_window.set_state request and specify a on_all_desktops state in the bitfield.
-
void org_kde_plasma_window_set_minimized_geometry(struct org_kde_plasma_window* org_kde_plasma_window,struct wl_surface* panel,uint32_t x,uint32_t y,uint32_t width,uint32_t height)Sets the geometry of the taskbar entry for this window. The geometry is relative to a panel in particular.
-
void org_kde_plasma_window_unset_minimized_geometry(struct org_kde_plasma_window* org_kde_plasma_window,struct wl_surface* panel)Remove the task geometry information for a particular panel.
-
void org_kde_plasma_window_close(struct org_kde_plasma_window* org_kde_plasma_window)Close this window.
-
void org_kde_plasma_window_request_move(struct org_kde_plasma_window* org_kde_plasma_window)Request an interactive move for this window.
-
void org_kde_plasma_window_request_resize(struct org_kde_plasma_window* org_kde_plasma_window)Request an interactive resize for this window.
-
void org_kde_plasma_window_destroy(struct org_kde_plasma_window* org_kde_plasma_window)Removes the resource bound for this org_kde_plasma_window.
-
void org_kde_plasma_window_get_icon(struct org_kde_plasma_window* org_kde_plasma_window,int32_t fd /* file descriptor for the icon */)The compositor will write the window icon into the provided file descriptor. The data is a serialized QIcon with QDataStream.
-
void org_kde_plasma_window_request_enter_virtual_desktop(struct org_kde_plasma_window* org_kde_plasma_window,const char* id /* desktop id */)Make the window enter a virtual desktop. A window can enter more than one virtual desktop. if the id is empty or invalid, no action will be performed.
-
void org_kde_plasma_window_request_enter_new_virtual_desktop(struct org_kde_plasma_window* org_kde_plasma_window)RFC: do this with an empty id to request_enter_virtual_desktop? Make the window enter a new virtual desktop. If the server consents the request, it will create a new virtual desktop and assign the window to it.
-
void org_kde_plasma_window_request_leave_virtual_desktop(struct org_kde_plasma_window* org_kde_plasma_window,const char* id /* desktop id */)Make the window exit a virtual desktop. If it exits all desktops it will be considered on all of them.
-
void org_kde_plasma_window_request_enter_activity(struct org_kde_plasma_window* org_kde_plasma_window,const char* id /* activity id */)Make the window enter an activity. A window can enter more activity. If the id is empty or invalid, no action will be performed.
-
void org_kde_plasma_window_request_leave_activity(struct org_kde_plasma_window* org_kde_plasma_window,const char* id /* activity id */)Make the window exit a an activity. If it exits all activities it will be considered on all of them.
-
void org_kde_plasma_window_send_to_output(struct org_kde_plasma_window* org_kde_plasma_window,struct wl_output* output)Requests this window to be displayed in a specific output.
Events
-
const char* title /* window title */This event will be sent as soon as the window title is changed.
-
const char* app_idThis event will be sent as soon as the application identifier is changed.
-
uint32_t flags /* bitfield of state flags */This event will be sent as soon as the window state changes. Values for state argument are described by org_kde_plasma_window_management.state.
-
int32_t number /* zero based virtual desktop number */DEPRECATED: use virtual_desktop_entered and virtual_desktop_left instead This event will be sent when a window is moved to another virtual desktop. It is not sent if it becomes visible on all virtual desktops though.
-
const char* name /* the new themed icon name */This event will be sent whenever the themed icon name changes. May be null.
-
This event will be sent immediately after the window is closed and its surface is unmapped.
-
This event will be sent immediately after all initial state been sent to the client. If the Plasma window is already unmapped, the unmapped event will be sent before the initial_state event.
-
struct org_kde_plasma_window* parent /* The parent window */This event will be sent whenever the parent window of this org_kde_plasma_window changes. The passed parent is another org_kde_plasma_window and this org_kde_plasma_window is a transient window to the parent window. If the parent argument is null, this org_kde_plasma_window does not have a parent window.
-
int32_t x /* x position of the org_kde_plasma_window */int32_t y /* y position of the org_kde_plasma_window */uint32_t width /* width of the org_kde_plasma_window */uint32_t height /* height of the org_kde_plasma_window */This event will be sent whenever the window geometry of this org_kde_plasma_window changes. The coordinates are in absolute coordinates of the windowing system.
-
This event will be sent whenever the icon of the window changes, but there is no themed icon name. Common examples are Xwayland windows which have a pixmap based icon. The client can request the icon using get_icon.
-
uint32_t pid /* process id */This event will be sent when the compositor has set the process id this window belongs to. This should be set once before the initial_state is sent.
-
const char* id /* desktop id */This event will be sent when the window has entered a new virtual desktop. The window can be on more than one desktop, or none: then is considered on all of them.
-
const char* is /* desktop id */This event will be sent when the window left a virtual desktop. If the window leaves all desktops, it can be considered on all. If the window gets manually added on all desktops, the server has to send virtual_desktop_left for every previous desktop it was in for the window to be really considered on all desktops.
-
const char* service_nameconst char* object_pathThis event will be sent after the application menu for the window has changed.
-
const char* id /* activity id */This event will be sent when the window has entered an activity. The window can be on more than one activity, or none: then is considered on all of them.
-
const char* id /* activity id */This event will be sent when the window left an activity. If the window leaves all activities, it will be considered on all. If the window gets manually added on all activities, the server has to send activity_left for every previous activity it was in for the window to be really considered on all activities.
-
const char* resource_name /* resource name */This event will be sent when the X11 resource name of the window has changed. This is only set for XWayland windows.
-
int32_t x /* x position of the org_kde_plasma_window */int32_t y /* y position of the org_kde_plasma_window */uint32_t width /* width of the org_kde_plasma_window */uint32_t height /* height of the org_kde_plasma_window */This event will be sent whenever the window geometry of this org_kde_plasma_window changes. The coordinates are in absolute coordinates of the windowing system.
-
-
# org_kde_plasma_activation_feedback
The activation manager interface provides a way to get notified when an application is about to be activated.Requests
-
void org_kde_plasma_activation_feedback_destroy(struct org_kde_plasma_activation_feedback* org_kde_plasma_activation_feedback)Destroy the activation manager object. The activation objects introduced by this manager object will be unaffected.
Events
-
struct org_kde_plasma_activation* idWill be issued when an app is set to be activated. It offers an instance of org_kde_plasma_activation that will tell us the app_id and the extent of the activation.
-
-
# org_kde_plasma_activation
Requests
-
void org_kde_plasma_activation_destroy(struct org_kde_plasma_activation* org_kde_plasma_activation)Notify the compositor that the org_kde_plasma_activation object will no longer be used.
Events
-
const char* app_id /* application id, as described in xdg_activation_v1 */
-
-
# org_kde_plasma_stacking_order
When this object is created, the compositor sends a window event for each window in the stacking order, and afterwards sends the done event and destroys this object.Events
-
const char* uuid /* window uuid */
-
Copyright Info
SPDX-FileCopyrightText: 2013-2014 Pier Luigi Fiorini
SPDX-License-Identifier: LGPL-2.1-or-later