Commit 2ccab78c3deaed07f7642a92f86be29d684b5435 Parent: ea6d657aaf53a76e87e08bae66a3131763170984 Author: mcol <mcol@posteo.net> Date: 2020-11-11 17:45:50 +0000 Committer: mcol <mcol@posteo.net> Committed: 2020-11-11 17:45:50 +0000 add desk related types into desk.h
src/types.h Modified
@@ -73,19 +73,4 @@ struct wl_listener key_listener; }; -struct wallpaper { - struct wlr_texture *texture; - int width, height; -}; - -struct desk { - struct wl_list link; - struct server *server; - struct wl_list views; - float background[4]; - struct wallpaper *wallpaper; - double panned_x, panned_y; - int index; -}; - #endif
src/output.c Modified
@@ -2,6 +2,7 @@ #include <wlr/types/wlr_matrix.h> #include <wlr/types/wlr_output_layout.h> +#include "desk.h" #include "output.h" #include "types.h"
src/desk.h Modified
@@ -10,4 +10,19 @@ void reset_pan(struct desk *desk); void save_pan(struct desk *desk); +struct wallpaper { + struct wlr_texture *texture; + int width, height; +}; + +struct desk { + struct wl_list link; + struct server *server; + struct wl_list views; + float background[4]; + struct wallpaper *wallpaper; + double panned_x, panned_y; + int index; +}; + #endif