diff options
| author | Federico Angelilli <code@fedang.net> | 2023-11-17 16:01:16 +0100 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2023-11-17 16:01:16 +0100 |
| commit | 032af5aeb9bd80b933672ca4b5360c33baa8d42e (patch) | |
| tree | 9ae1d9291f9d2fe6fb4ce35c133d6ab6cfded0b8 /src/window.h | |
| parent | ab92cac18652f72be12f68b5a96095ba8eb5afdf (diff) | |
Remove window_set_opacity and use xcb aux in window_create
Diffstat (limited to 'src/window.h')
| -rw-r--r-- | src/window.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |
