Michael Stapelberg 01c1b5dec2 Bugfix: use restore_conn, not conn
Using the wrong X11 connection breaks the libev event handling model:
xcb_flush() must be called immediately before handing control to libev.

Before this fix:

1. xcb_prepare_cb would read and flush conn
2. restore_xcb_prepare_cb would read and flush restore_conn,
   BUT also inadvertantly call xcb_flush(conn), resulting in new
   events being filled into the XCB event queue
3. libev waits for new events
4. after 1 minute, libev times out and the events are processed

Diagnosed using strace on testcases/complete-run.pl.

related to commit 0d8b6714e3

related to #3510
2018-12-08 13:31:53 +01:00
2018-10-13 21:10:09 +03:00
2018-10-13 21:10:11 +03:00
2018-11-05 14:15:07 +01:00
2018-12-08 13:31:53 +01:00
2018-11-28 17:38:16 +01:00
2018-10-13 21:10:10 +03:00
2018-05-01 13:49:55 +03:00
2011-08-28 17:44:42 +02:00
2018-11-04 14:47:34 +01:00
2018-10-26 09:58:04 -07:00
2018-11-04 14:47:34 +01:00
2018-11-05 19:32:29 +01:00

Logo i3: A tiling window manager

Build Status Issue Stats Pull Request Stats

i3 is a tiling window manager for X11.

For more information about i3, please see the project's website and online documentation.

For information about contributing to i3, please see CONTRIBUTING.md.

Description
No description provided
Readme 15 MiB
Languages
C 58.6%
Perl 29%
Raku 9.4%
Ruby 1.2%
Shell 0.7%
Other 1.1%