summaryrefslogtreecommitdiff
path: root/src/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/defs.h')
-rw-r--r--src/defs.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/defs.h b/src/defs.h
index f8de140..58c2360 100644
--- a/src/defs.h
+++ b/src/defs.h
@@ -3,9 +3,12 @@
#ifndef DEFS_H
#define DEFS_H
-#include <stdint.h>
#include <X11/Xlib.h>
+#define uint unsigned int
+#define ulong unsigned long
+#define u_char unsigned char
+
#define SXWM_VERSION "sxwm ver. 0.1.5"
#define SXWM_AUTHOR "(C) Abhinav Prasai 2025"
#define SXWM_LICINFO "See LICENSE for more info"
@@ -83,7 +86,9 @@ typedef struct {
typedef struct Client{
Window win;
uint x, y, h, w;
+ uint orig_x, orig_y, orig_w, orig_h;
Bool floating;
+ Bool fullscreen;
struct Client *next;
} Client;