JWM Source Documentation

main.h
Go to the documentation of this file.
00001 
00010 #ifndef MAIN_H
00011 #define MAIN_H
00012 
00014 typedef enum {
00015    FOCUS_SLOPPY              = 0,
00016    FOCUS_CLICK               = 1
00017 } FocusModelType;
00018 
00019 extern Display *display;
00020 extern Window rootWindow;
00021 extern int rootWidth, rootHeight;
00022 extern int rootDepth;
00023 extern int rootScreen;
00024 extern Colormap rootColormap;
00025 extern Visual *rootVisual;
00026 extern GC rootGC;
00027 extern int colormapCount;
00028 
00029 extern char *exitCommand;
00030 
00031 extern unsigned int desktopWidth;
00032 extern unsigned int desktopHeight;
00033 extern unsigned int desktopCount;
00034 extern unsigned int currentDesktop;
00035 
00036 extern char shouldExit;
00037 extern char shouldRestart;
00038 extern char isRestarting;
00039 extern char shouldReload;
00040 extern char initializing;
00041 
00042 extern int borderWidth;
00043 extern int titleHeight;
00044 
00045 extern unsigned int doubleClickSpeed;
00046 extern unsigned int doubleClickDelta;
00047 
00048 extern FocusModelType focusModel;
00049 
00050 extern XContext clientContext;
00051 extern XContext frameContext;
00052 
00053 #ifdef USE_SHAPE
00054 extern int haveShape;
00055 extern int shapeEvent;
00056 #endif
00057 #ifdef USE_XRENDER
00058 extern int haveRender;
00059 #endif
00060 
00061 extern char *configPath;
00062 
00063 #endif /* MAIN_H */
00064