awesome/common
Uli Schlachter aa21156ced Make sure we always flush after xcb_ungrab_server()
Between xcb_grab_server() and xcb_ungrab_server(), XCB's output buffer
might fill up. Thus, the GrabServer request might already have been sent
to the server, but the following UngrabServer request could end up in
XCB's output buffer. There, it might sit around for quite a while and
cause problems.

Since we cannot detect when XCB's output buffer fills up, we just always
flush after generating an UngrabServer request.

Very-likely-Fixes: https://github.com/awesomeWM/awesome/issues/2697
Signed-off-by: Uli Schlachter <psychon@znc.in>
2019-02-27 10:20:22 +01:00
..
array.h Deprecate signal_add() on C-API objects 2016-06-04 17:51:45 +02:00
atoms.c remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
atoms.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
atoms.list Implement INCR transfers 2019-02-07 17:56:26 +01:00
backtrace.c remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
backtrace.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
buffer.c Add missing va_end()s to buffer_addvf() 2017-11-17 10:23:11 +01:00
buffer.h Add a vim modeline to all C source 2015-12-12 17:42:16 +01:00
luaclass.c Migrate a bit away from luaL_register(). 2019-02-16 14:25:20 +01:00
luaclass.h Deprecate signal_add() on C-API objects 2016-06-04 17:51:45 +02:00
lualib.c Add a vim modeline to all C source 2015-12-12 17:42:16 +01:00
lualib.h Reduce code duplication with luaA_*_call_handler (#2321) 2018-07-25 18:31:02 -04:00
luaobject.c Use signal_array_getbyname() where appropriate 2018-01-24 09:13:35 +01:00
luaobject.h C: Add a .data table to all C objects 2016-09-30 11:07:55 +02:00
signal.h Use signal_array_getbyname() where appropriate 2018-01-24 09:13:35 +01:00
util.c Add timestamps to messages on stderr (#602) 2015-12-31 15:38:17 +01:00
util.h Add & use a non-fatal kind of assert() (#1779) 2017-05-13 23:22:15 +02:00
version.c Print full RandR version in --version output 2017-01-23 17:17:46 +01:00
version.h Add a vim modeline to all C source 2015-12-12 17:42:16 +01:00
xcursor.c Switch from libXcursor to libxcb-cursor 2013-09-19 16:48:10 +02:00
xcursor.h Switch from libXcursor to libxcb-cursor 2013-09-19 16:48:10 +02:00
xembed.c xembed: Stop using XCB_CURRENT_TIME 2017-04-15 12:04:57 +02:00
xembed.h xembed: Stop using XCB_CURRENT_TIME 2017-04-15 12:04:57 +02:00
xutil.c Remove some unused fields from globalconf 2015-12-22 17:25:45 +01:00
xutil.h Make sure we always flush after xcb_ungrab_server() 2019-02-27 10:20:22 +01:00