Top |
void | xfw_set_client_type () |
XfwWindowing | xfw_windowing_get () |
void | xfw_windowing_error_trap_push () |
gint | xfw_windowing_error_trap_pop () |
void | xfw_windowing_error_trap_pop_ignored () |
#define | XFW_ERROR |
enum | XfwClientType |
enum | XfwError |
enum | XfwWindowing |
enum | XfwDirection |
void
xfw_set_client_type (XfwClientType client_type
);
Sets the type of the application. This is used when sending various messages to control the behavior of other windows, to indicate the source of the control. In general, XFW_CLIENT_TYPE_APPLICATION will be interpreted as automated control from a regular application, and XFW_CLIENT_TYPE_PAGER will be interpreted as user-initiated control from a desktop component application like a pager or dock.
This does nothing on Wayland, but is safe to call under a Wayland session.
Since: 4.19.3
XfwWindowing
xfw_windowing_get (void
);
Determines the windowing environment that is currently active.
void
xfw_windowing_error_trap_push (GdkDisplay *display
);
Traps errors in the underlying windowing environment. Error traps work as a stack, so for every "push" call, there needs to be a "pop" call. Multiple pushes need to be matched with an equal number of pops.
This only does anything on X11.
gint
xfw_windowing_error_trap_pop (GdkDisplay *display
);
Pops the topmost error trap off of the stack.
This only does anything on X11.
#define XFW_ERROR (xfw_error_quark())
The error domain for all errors returned by this library.
The type of the application.
See xfw_set_client_type()
for details.
Since: 4.19.3
Represents the windowing environment that is currently running. Note that for an application running on XWayland, this will return XFW_WINDOWING_X11.