Main Page | Class List | File List | Class Members | File Members | Related Pages

main.cpp File Reference

#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.
Managerrwm
 Pointer to the window manager made global.

Function Documentation

int dispXerr Display *  dpy,
XErrorEvent *  xe
 

Display X errors.

This displays X errors as reported by the X server.

int main int  argc,
char **  argv
 

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:

void sigHandler int  signal  ) 
 

Catches signals.

Will act upon some signals - later.

Here is the call graph for this function:

void startProg  ) 
 

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 Documentation

bool rInit = true
 

Variable used during initialization.

Manager* rwm
 

Pointer to the window manager made global.


Go back to rwm - the window manager's - Home page.
created 13 Jun 2005 for rwm 0.2 by Rolf C. Rönnau using doxygen 1.4.2