From 74adfe0cbca300e73774c6e0aa9b3c53a5e5b57b Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Sun, 31 Oct 2021 16:47:03 +0000 Subject: Add HiDPI support and lots of cleanup. --- src/client.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/client.h') 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 #include +#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 */ -- cgit v1.2.3