From 8af0b4fbd10757abbc77ca369184312eb674905d Mon Sep 17 00:00:00 2001 From: uint23 Date: Thu, 17 Apr 2025 00:55:22 +0100 Subject: resizing windwo + moving --- src/defs.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/defs.h') 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; -- cgit v1.2.3