Bugfix: Correctly disable Xinerama, use TAILQ_HEAD_INITIALIZER where possible

This commit is contained in:
Michael Stapelberg
2009-02-15 02:12:14 +01:00
parent 09cd7bd2d0
commit 658c302031
2 changed files with 30 additions and 8 deletions

View File

@ -47,7 +47,7 @@
Display *xkbdpy;
TAILQ_HEAD(bindings_head, Binding) bindings;
TAILQ_HEAD(bindings_head, Binding) bindings = TAILQ_HEAD_INITIALIZER(bindings);
xcb_event_handlers_t evenths;
xcb_window_t root_win;
@ -264,8 +264,6 @@ int main(int argc, char *argv[], char *env[]) {
byChild = alloc_table();
byParent = alloc_table();
TAILQ_INIT(&bindings);
c = xcb_connect(NULL, &screens);
/* TODO: this has to be more beautiful somewhen */