diff options
author | John Ankarstr\xf6m <john@ankarstrom.se> | 2021-05-29 12:54:47 +0200 |
---|---|---|
committer | John Ankarstr\xf6m <john@ankarstrom.se> | 2021-05-29 13:18:40 +0200 |
commit | a041d9898e6d699bd8c0c25482ec574feb03c547 (patch) | |
tree | 7f094e33fb530152c3ab6238ce7300750b47addb /src/main.h | |
download | jwm-a041d9898e6d699bd8c0c25482ec574feb03c547.tar.gz |
First commit
This is the original state of the released tarball for JWM 1.8,
which will serve as my starting point for further modifications.
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h new file mode 100644 index 0000000..2216de0 --- /dev/null +++ b/src/main.h @@ -0,0 +1,56 @@ +/** + * @file main.h + * @author Joe Wingbermuehle + * @date 2004-2006 + * + * @brief Header for the main functions. + * + */ + +#ifndef MAIN_H +#define MAIN_H + +typedef enum { + FOCUS_SLOPPY = 0, + FOCUS_CLICK = 1 +} FocusModelType; + +extern Display *display; +extern Window rootWindow; +extern int rootWidth, rootHeight; +extern int rootDepth; +extern int rootScreen; +extern Colormap rootColormap; +extern Visual *rootVisual; +extern GC rootGC; +extern int colormapCount; + +extern char *exitCommand; + +extern unsigned int desktopCount; +extern unsigned int currentDesktop; + +extern int shouldExit; +extern int shouldRestart; +extern int isRestarting; + +extern int initializing; + +extern int borderWidth; +extern int titleHeight; + +extern unsigned int doubleClickSpeed; +extern unsigned int doubleClickDelta; + +extern FocusModelType focusModel; + +extern XContext clientContext; +extern XContext frameContext; + +#ifdef USE_SHAPE +extern int haveShape; +extern int shapeEvent; +#endif + +#endif + |