aboutsummaryrefslogtreecommitdiff
path: root/x11.h
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2023-11-13 17:04:45 +0100
committerFederico Angelilli <code@fedang.net>2023-11-13 17:04:45 +0100
commitdc98ed4f21ddba80199b37c1d7617b92d4f6b056 (patch)
tree16cbb6a5c9a8f7b54b55dbcfa89326ea6a3b718e /x11.h
parenta6fad8924ef8f351d6c77a092afd3e0918e002b1 (diff)
Extract window opacity 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 3884485..b65310b 100644
--- a/x11.h
+++ b/x11.h
@@ -15,6 +15,8 @@ double window_get_scale(Window *win);
void window_get_screen_size(Window *win, int *width, int *height);
+void window_set_transparency(Window *win, double alpha);
+
void window_move(Window *win, int x, int y);
void window_resize(Window *win, int width, int height);