mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
The X socket MUST keep us alive.
We must not unref the loop for the X socket, that's our reason to live ! Signed-off-by: Pierre Habouzit <madcoder@debian.org>
This commit is contained in:
parent
93d4031a69
commit
4617f0ba34
1 changed files with 0 additions and 1 deletions
|
@ -367,7 +367,6 @@ main(int argc, char **argv)
|
|||
xfd = xcb_get_file_descriptor(globalconf.connection);
|
||||
ev_io_init(&xio, &a_xcb_io_cb, xfd, EV_READ);
|
||||
ev_io_start(globalconf.loop, &xio);
|
||||
ev_unref(globalconf.loop);
|
||||
ev_check_init(&xcheck, &a_xcb_check_cb);
|
||||
ev_check_start(globalconf.loop, &xcheck);
|
||||
ev_unref(globalconf.loop);
|
||||
|
|
Loading…
Reference in a new issue