]> git.sur5r.net Git - i3/i3lock/commit
Flush xcb connection after opening fullscreen window (#74)
authormartin <martin.sandsmark@kde.org>
Wed, 25 May 2016 20:19:17 +0000 (22:19 +0200)
committerMichael Stapelberg <stapelberg@users.noreply.github.com>
Wed, 25 May 2016 20:19:17 +0000 (22:19 +0200)
commit402254b5752fcf6a8197b92f558cb0c35289fa74
tree63377978e9378dd4193545a8e9987f7d523a5c2e
parent9a7604bb35212dcc49e1e108a0631a0906560e5a
Flush xcb connection after opening fullscreen window (#74)

We need to ensure that the window handle is valid, i. e. the window is
actually created and accessible, before returning.

This is necessary because we immediately fork after returning, and the
child process opens its own X11 connection and expects the window handle
to be valid.

Fixes #46
xcb.c