diff options
author | uint23 <[email protected]> | 2025-04-17 00:55:22 +0100 |
---|---|---|
committer | uint23 <[email protected]> | 2025-04-17 00:55:22 +0100 |
commit | 8af0b4fbd10757abbc77ca369184312eb674905d (patch) | |
tree | 598f265127e322cb94e0b7c146bad3092170256b /src/defs.h | |
parent | 6609744d8d4e4a125b8d9e91bcd4ecaabe05f12b (diff) |
resizing windwo + moving
Diffstat (limited to 'src/defs.h')
-rw-r--r-- | src/defs.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; |