|
Cairo-Dock 2.4.0~1
|
Data Structures | |
| struct | _CairoDockWMBackend |
| Definition of the Window Manager backend. More... | |
| struct | _CairoDockDesktopBackground |
| Definition of a Desktop Background Buffer. It has a reference count so that it can be shared across all the lib. More... | |
Enumerations | |
| enum | CairoDesktopNotifications { NOTIFICATION_DESKTOP_CHANGED, NOTIFICATION_SCREEN_GEOMETRY_ALTERED, NOTIFICATION_DESKTOP_VISIBILITY_CHANGED, NOTIFICATION_KBD_STATE_CHANGED, NOTIFICATION_WINDOW_CONFIGURED, NOTIFICATION_WINDOW_ACTIVATED, NOTIFICATION_WINDOW_PROPERTY_CHANGED } |
| signals More... | |
Functions | |
| void | cairo_dock_wm_register_backend (CairoDockWMBackend *pBackend) |
| void | cairo_dock_get_current_desktop_and_viewport (int *iCurrentDesktop, int *iCurrentViewportX, int *iCurrentViewportY) |
This class manages the interactions with X. The X manager will handle signals from X and dispatch them, and manages the screen geometry.
signals
| void cairo_dock_wm_register_backend | ( | CairoDockWMBackend * | pBackend | ) |
Register a Window Manager backend, overwriting any previous one.
| pBackend | a Window Manager backend; the function takes ownership of the pointer. |
| void cairo_dock_get_current_desktop_and_viewport | ( | int * | iCurrentDesktop, |
| int * | iCurrentViewportX, | ||
| int * | iCurrentViewportY | ||
| ) |
Get the current workspace (desktop and viewport).
| iCurrentDesktop | will be filled with the current desktop number |
| iCurrentViewportX | will be filled with the current horizontal viewport number |
| iCurrentViewportY | will be filled with the current vertical viewport number |