From 3036894841fce9b73e6b34779eeabbe326e19302 Mon Sep 17 00:00:00 2001 From: uint23 Date: Sun, 20 Apr 2025 06:13:41 +0100 Subject: fullscr support + readme glowup + makefile glowup gaaaaashhh --- src/defs.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/defs.h') 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 #include +#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; -- cgit v1.2.3