From 705ad3bee5de67725311d4085f0481fa7107ba41 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 11 Jan 2024 23:47:35 +0100 Subject: Render wallpaper --- src/compositor.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/compositor.h') 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; -- cgit v1.2.3