Michael Stapelberg
c14cb4a250
Handle MappingNotify-events (Thanks Pascal)
14 years ago
Michael Stapelberg
f6af085784
Move static byte arrays to xcb.c (fixes compilation warnings)
15 years ago
Axel Wagner
0c4b4df75e
Port the pointer-code to xcb
15 years ago
Michael Stapelberg
7f42665245
grabbing: make the retry loop much slower (waits up to half a second)
This should fix a race condition where the Mod-key was not released
in time when starting i3lock using a key combination.
15 years ago
Michael Stapelberg
c24922f0f2
Bugfix: Correctly error out when unable to grab pointer/keyboard
15 years ago
Michael Stapelberg
4e5c203cd9
Raise the i3lock window upon visibility notifies
15 years ago
Michael Stapelberg
9d19a8bb53
make event loop simpler (Thanks to Jamey Sharp)
As explained in Jamey’s post on the XCB mailing list, the event
loop can/should be written in a more simple way than it was before
in xcb-event. See:
<AANLkTinhIM320wUjSeHkBTVk4ysBuiSZkvfs8pMLVykO@mail.gmail.com>
or
http://lists.freedesktop.org/archives/xcb/2010-July/006292.html
15 years ago
Michael Stapelberg
1dc3fd7bf0
Initial commit of the XCB rewrite of i3lock
Changes:
- Uses XCB instead of Xlib (like i3), thus cleaner/faster code
- Uses cairo to load PNG images (*much* faster than XPM)
15 years ago