#include <WindowManager.h>
|
static void | activate (Display *, Window) |
|
static void | iconify (Display *, Window) |
|
static void | close (Display *, Window) |
|
static Window | getActive (Display *) |
|
static Window | getClientWindow (Display *, Window) |
|
static std::string | getTitle (Display *, Window) |
|
static ArgbSurface * | getIcon (Display *, Window) |
|
static unsigned long | getWorkspace (Display *, Window) |
|
static unsigned long | getNumberOfWorkspaces (Display *) |
|
static unsigned long | getCurrentWorkspace (Display *) |
|
static bool | getWorkspacePosition (Display *, unsigned long &, unsigned long &) |
|
static bool | getDesktopGeometry (Display *, unsigned long &, unsigned long &) |
|
static bool | isNormalWindow (Display *, Window) |
|
static void | setWindowType (Display *, Window, const char *) |
|
static void | sendClientMessage (Display *, Window, const char *, unsigned long=0, unsigned long=0, unsigned long=0, unsigned long=0, unsigned long=0) |
|
static Atom | getAtom (Display *, const char *) |
|
Interface to the window manager
- Author
- Markus Fisch mf@ma.nosp@m.rkus.nosp@m.fisch.nosp@m..de
void WindowManager::activate |
( |
Display * |
d, |
|
|
Window |
w |
|
) |
| |
|
static |
void WindowManager::close |
( |
Display * |
d, |
|
|
Window |
w |
|
) |
| |
|
static |
Window WindowManager::getActive |
( |
Display * |
d | ) |
|
|
static |
Atom WindowManager::getAtom |
( |
Display * |
d, |
|
|
const char * |
n |
|
) |
| |
|
static |
Window WindowManager::getClientWindow |
( |
Display * |
d, |
|
|
Window |
w |
|
) |
| |
|
static |
Get client/content window from a possible frame/decor window
- Parameters
-
Private class to stand in if XmuClientWindow is missing; didn't like the thought of having a depedency for this
References getAtom().
Referenced by PieDock::Menu::execute().
unsigned long WindowManager::getCurrentWorkspace |
( |
Display * |
d | ) |
|
|
static |
bool WindowManager::getDesktopGeometry |
( |
Display * |
d, |
|
|
unsigned long & |
w, |
|
|
unsigned long & |
h |
|
) |
| |
|
static |
Return dimensions of all workspaces
- Parameters
-
d | - display |
w | - sum of the width of all workspaces |
h | - sum of the height of all workspaces |
ArgbSurface * WindowManager::getIcon |
( |
Display * |
d, |
|
|
Window |
w |
|
) |
| |
|
static |
unsigned long WindowManager::getNumberOfWorkspaces |
( |
Display * |
d | ) |
|
|
static |
Return number of workspaces
- Parameters
-
std::string WindowManager::getTitle |
( |
Display * |
d, |
|
|
Window |
w |
|
) |
| |
|
static |
unsigned long WindowManager::getWorkspace |
( |
Display * |
d, |
|
|
Window |
w |
|
) |
| |
|
static |
bool WindowManager::getWorkspacePosition |
( |
Display * |
d, |
|
|
unsigned long & |
x, |
|
|
unsigned long & |
y |
|
) |
| |
|
static |
void WindowManager::iconify |
( |
Display * |
d, |
|
|
Window |
w |
|
) |
| |
|
static |
bool WindowManager::isNormalWindow |
( |
Display * |
d, |
|
|
Window |
w |
|
) |
| |
|
static |
void WindowManager::sendClientMessage |
( |
Display * |
d, |
|
|
Window |
w, |
|
|
const char * |
message, |
|
|
unsigned long |
data0 = 0 , |
|
|
unsigned long |
data1 = 0 , |
|
|
unsigned long |
data2 = 0 , |
|
|
unsigned long |
data3 = 0 , |
|
|
unsigned long |
data4 = 0 |
|
) |
| |
|
static |
Send a ClientMessage to some window
- Parameters
-
d | - display |
w | - target window |
message | - message to send |
data0 | - data (optional) |
data1 | - data (optional) |
data2 | - data (optional) |
data3 | - data (optional) |
data4 | - data (optional) |
References getAtom().
Referenced by activate(), and close().
void WindowManager::setWindowType |
( |
Display * |
d, |
|
|
Window |
w, |
|
|
const char * |
type |
|
) |
| |
|
static |
The documentation for this class was generated from the following files: