aboutsummaryrefslogtreecommitdiff
path: root/x11.h
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2023-11-13 16:47:23 +0100
committerFederico Angelilli <code@fedang.net>2023-11-13 16:47:23 +0100
commita6fad8924ef8f351d6c77a092afd3e0918e002b1 (patch)
tree2fa81303940580626a0f55c76d790fd333f63641 /x11.h
parent8174acdccbe039b8cf8cbefce6fbbf24ce0a5eaf (diff)
Extract window scale fetching logic
Diffstat (limited to 'x11.h')
-rw-r--r--x11.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/x11.h b/x11.h
index 0d8cd4c..3884485 100644
--- a/x11.h
+++ b/x11.h
@@ -9,6 +9,8 @@ Window *window_create(void);
cairo_t *window_get_context(Window *win);
+void window_update_scale(Window *win);
+
double window_get_scale(Window *win);
void window_get_screen_size(Window *win, int *width, int *height);