Bugfix: use the global root variable, don’t get the first one (Thanks quaec)

This commit is contained in:
Michael Stapelberg
2011-07-23 22:29:01 +02:00
parent 44f46a5ee6
commit ffe297f5e5
3 changed files with 3 additions and 3 deletions

View File

@ -30,6 +30,7 @@ extern TAILQ_HEAD(autostarts_always_head, Autostart) autostarts_always;
extern TAILQ_HEAD(ws_assignments_head, Workspace_Assignment) ws_assignments;
extern TAILQ_HEAD(assignments_head, Assignment) assignments;
extern SLIST_HEAD(stack_wins_head, Stack_Window) stack_wins;
extern xcb_screen_t *root_screen;
extern uint8_t root_depth;
extern bool xcursor_supported, xkb_supported;
extern xcb_window_t root;