#include <csignal>#include <sys/wait.h>#include <qpixmap.h>#include "rdebug.h"#include "manager.h"#include "rwm.h"Include dependency graph for main.cpp:

Functions | |
| void | startProg () |
| int | dispXerr (Display *dpy, XErrorEvent *xe) |
| void | sigHandler (int signal) |
| int | main (int argc, char **argv) |
Variables | |
| bool | rInit = true |
| Variable used during initialization. | |
| Manager * | rwm |
| Pointer to the window manager made global. | |
|
||||||||||||
|
Display X errors. This displays X errors as reported by the X server. |
|
||||||||||||
|
The main program. Every program must have a main, this is the one used by rwm. It doesn't do much except initializing a few things and then transferring control to the Manager, where the event loop runs. Here is the call graph for this function: ![]() |
|
|
Catches signals. Will act upon some signals - later. Here is the call graph for this function: ![]() |
|
|
Starts programs at startup. Right now this is fixed to start an X terminal, to give me the chance to do something useful even if rwm does not. Will be used to start user defined programs, as configured in the user settings. |
|
|
Variable used during initialization.
|
|
|
Pointer to the window manager made global.
|