aboutsummaryrefslogtreecommitdiff
path: root/src/connect.h
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-03-16 02:11:10 +0100
committerFederico Angelilli <code@fedang.net>2024-03-16 02:11:10 +0100
commit15baf349fa6985262da39b70f2d496af104c478d (patch)
tree9d70590e9d0676268169828d7861a75f9ac18118 /src/connect.h
parent9dcc07bdc6360b2ebbd618bb864024f62bf98918 (diff)
Fix some memory leaks and add valgrind support
Diffstat (limited to 'src/connect.h')
-rw-r--r--src/connect.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/connect.h b/src/connect.h
index 35ed3d3..2428819 100644
--- a/src/connect.h
+++ b/src/connect.h
@@ -17,6 +17,7 @@ typedef struct Connection Connection;
struct Connection {
xcb_connection_t *connection;
xcb_screen_t *screen;
+ xcb_randr_get_screen_info_reply_t *info_reply;
xcb_randr_screen_size_t *screen_size;
double screen_dpi;
int screen_depth;