From 032af5aeb9bd80b933672ca4b5360c33baa8d42e Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Fri, 17 Nov 2023 16:01:16 +0100 Subject: Remove window_set_opacity and use xcb aux in window_create --- src/window.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/window.h') diff --git a/src/window.h b/src/window.h index e6172ac..77f2d91 100644 --- a/src/window.h +++ b/src/window.h @@ -10,6 +10,8 @@ typedef struct Window Window; struct Window { Connection *con; xcb_drawable_t window; + uint32_t cw_mask; + xcb_params_cw_t cw_params; cairo_surface_t *surface; cairo_t *cr; int x, y; @@ -22,8 +24,6 @@ cairo_t *window_get_context(Window *win); double window_get_scale(Window *win); -void window_set_opacity(Window *win, double alpha); - void window_get_screen_size(Window *win, int *width, int *height); void window_move(Window *win, int x, int y); -- cgit v1.2.3