blob: 2216de0d6c68476fb3d0d9198c5cff2dac77cf20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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
|