summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2021-10-31 16:47:03 +0000
committerPhil Jones <philj56@gmail.com>2021-10-31 16:54:20 +0000
commit74adfe0cbca300e73774c6e0aa9b3c53a5e5b57b (patch)
tree88d0efbdd9755849eb22ee3478595df5c8e69a34 /src/client.h
parentc691b8e48c572e2d5f1c7c16c8f42babd7d706d5 (diff)
Add HiDPI support and lots of cleanup.
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client.h b/src/client.h
index 934d4d3..d356094 100644
--- a/src/client.h
+++ b/src/client.h
@@ -3,9 +3,10 @@
#include <stdbool.h>
#include <stdint.h>
+#include "color.h"
#include "entry.h"
+#include "image.h"
#include "surface.h"
-#include "util.h"
struct client_state {
/* Globals */
@@ -37,7 +38,10 @@ struct client_state {
struct image background_image;
struct color background_color;
struct entry entry;
+ int32_t width;
+ int32_t height;
uint32_t scale;
+ bool resize;
} window;
/* Keyboard state */