summaryrefslogtreecommitdiff
path: root/src/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/defs.h')
-rw-r--r--src/defs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/defs.h b/src/defs.h
index b7f3da1..1521f0a 100644
--- a/src/defs.h
+++ b/src/defs.h
@@ -18,7 +18,9 @@
#define MAXCLIENTS 64
+enum { DRAG_NONE, DRAG_MOVE, DRAG_RESIZE } drag_mode = DRAG_NONE;
typedef void (*EventHandler)(XEvent *);
+
typedef union {
const char **cmd;
void (*fn)(void);
@@ -33,7 +35,8 @@ typedef struct {
typedef struct Client{
Window win;
- uint height, width;
+ uint x, y, h, w;
+ Bool floating;
struct Client *next;
} Client;