Implement Xinerama screen changes

This commit is contained in:
Michael Stapelberg
2009-03-03 23:51:02 +01:00
parent 1157229888
commit 3b50615a71
6 changed files with 161 additions and 43 deletions

View File

@ -14,10 +14,11 @@
#define _XINERAMA_H
TAILQ_HEAD(screens_head, Screen);
extern struct screens_head virtual_screens;
extern struct screens_head *virtual_screens;
void initialize_xinerama(xcb_connection_t *conn);
i3Screen *get_screen_at(int x, int y);
void xinerama_requery_screens(xcb_connection_t *conn);
i3Screen *get_screen_at(int x, int y, struct screens_head *screenlist);
i3Screen *get_screen_containing(int x, int y);
#endif