diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-01-11 23:47:35 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-01-11 23:47:35 +0100 |
commit | 705ad3bee5de67725311d4085f0481fa7107ba41 (patch) | |
tree | 78879a96cdab04878072db18d51465560d95e094 /src/compositor.h | |
parent | c4fb95cf0025b34ca14c22f4fbbfcef14d56d71c (diff) |
Render wallpaper
Diffstat (limited to 'src/compositor.h')
-rw-r--r-- | src/compositor.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compositor.h b/src/compositor.h index cf520d5..f6db300 100644 --- a/src/compositor.h +++ b/src/compositor.h @@ -2,6 +2,7 @@ #define NGXC_COMPOSITOR_H #include "window_texture.h" +#include "pixmap_texture.h" // TODO: Make dynamic #define NGXC_COMPOSITOR_MAX_WINDOWS 100 @@ -16,6 +17,9 @@ typedef struct { Display *dpy; Window composite_window; double frame_timer; + + ngxc_pixmap_texture wallpaper_texture; + ngxc_window windows[NGXC_COMPOSITOR_MAX_WINDOWS]; int num_windows; } ngxc_compositor; |