From a6fad8924ef8f351d6c77a092afd3e0918e002b1 Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Mon, 13 Nov 2023 16:47:23 +0100 Subject: Extract window scale fetching logic --- x11.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'x11.h') 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); -- cgit v1.2.3