summaryrefslogtreecommitdiff
path: root/xcb.c
AgeCommit message (Collapse)Author
2017-06-20Revert "Fix covering of composited notifications (#96)" (#133)Ingo Bürk
This reverts commit 80d4452ec680bcb0e57418f69d44d88ded82047c. fixes #130
2017-04-15Rename all PAM-independant variables/comments.Jasper Lievisse Adriaanse
there is nothing PAM-specific about pam_state or pam_state_t. therefore rename them to be authenticator independant.
2017-03-26Fix covering of composited notifications (#96)martin
Use the XComposite extension to get the composite overlay window, instead of just using the normal root window. This ensures that composited windows are covered.
2016-10-11Display error message when locking failed (#99)eplanet
To give a feedback for when the pointer couldn't be grabbed, displaying an error message before exiting.
2016-09-27Displaying locking message when grabbing the pointer/keyboard. (#88)eplanet
Display "locking…" message when grabbing the pointer/keyboard, after at least 250 ms of unfruitful attempts. If grabbing eventually fails, application will not fork and return 1.
2016-05-25Flush xcb connection after opening fullscreen window (#74)martin
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
2015-08-11Remove DPMS support in favor of a wrapper script and xset(1).Michael Stapelberg
fixes #32
2015-04-21Update copyright notices and get rid of rangesDeiz
The script used to make these changes can be found at: https://gist.github.com/Deiz/32322020f76d23e2bf8f
2015-03-16clang-format -i **/*.[ch]Michael Stapelberg
From here on, we’ll use clang-format to automatically format the source. This has worked well in i3, so we are introducing it for i3lock.
2013-11-12Turn on the screen on successful authenticationPhilippe Virouleau
As described in ticket #1114, the screen may be left turned off on successful authentication. This commit fixes this behaviour by turning the screen back on after the authentication. Fixes #1114
2013-04-11Set window nameAxel Wagner
2012-10-26use libxkbcommon for input handlingMichael Stapelberg
Thanks to Ran Benita and Daniel Stone (the libxkbcommon authors) for answering my questions and reviewing this code. With this commit, input handling should be more correct with using less code (in i3lock, that is).
2012-05-30skip shift when getting the modifier mask (Thanks SardemFF7)Michael Stapelberg
2012-01-15Bugfix: Copy the color depth from parent (root) window instead of hardcoding ↵Michael Stapelberg
to 24 (Thanks hafron)
2012-01-03Fix a few memory leaksMichael Stapelberg
2012-01-03Refactor the unlock indicator into its own source code fileMichael Stapelberg
2012-01-03change ALL the copyrights!Michael Stapelberg
2011-12-28Properly free X11 resources (fixes DoS bug) (Thanks Merovius)Michael Stapelberg
2011-08-17handle screen resolution images and redraw the lock windowStefan Breunig
2011-04-02optimization: render to pixmap which is used as background for the windowMichael Stapelberg
Before this commit, the background color (white by default) was visible for about 100ms until the image was drawn. This flickering is now eliminated. Also, we don’t need to handle Expose-events anymore, as X11 will use the window’s background pixmap automatically.
2011-03-13bump copyrightMichael Stapelberg
2011-03-13Handle MappingNotify-events (Thanks Pascal)Michael Stapelberg
2010-07-20Move static byte arrays to xcb.c (fixes compilation warnings)Michael Stapelberg
2010-07-20Port the pointer-code to xcbAxel Wagner
2010-07-20grabbing: make the retry loop much slower (waits up to half a second)Michael Stapelberg
This should fix a race condition where the Mod-key was not released in time when starting i3lock using a key combination.
2010-07-20Bugfix: Correctly error out when unable to grab pointer/keyboardMichael Stapelberg
2010-07-20Raise the i3lock window upon visibility notifiesMichael Stapelberg
2010-07-20make event loop simpler (Thanks to Jamey Sharp)Michael Stapelberg
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
2010-07-16Initial commit of the XCB rewrite of i3lockMichael Stapelberg
Changes: - Uses XCB instead of Xlib (like i3), thus cleaner/faster code - Uses cairo to load PNG images (*much* faster than XPM)