summaryrefslogtreecommitdiff
path: root/src/defs.h
diff options
context:
space:
mode:
authoruint23 <https://uint23.xyz/>2025-04-20 06:13:41 +0100
committeruint23 <https://uint23.xyz/>2025-04-20 06:13:41 +0100
commit3036894841fce9b73e6b34779eeabbe326e19302 (patch)
tree5c8e88c3b9cff8c86c7b092e1a69616ba3f3050f /src/defs.h
parent4b53891cac71bb7d48410dd795c9a7a913cb657d (diff)
fullscr support + readme glowup + makefile glowup gaaaaashhh
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;