Michael Stapelberg
e03e93fd1b
optimization: render to pixmap which is used as background for the window
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.
14 years ago
Michael Stapelberg
e7201e2df5
Mark handle_visibility_notify and handle_mapping_notify as static
14 years ago
Michael Stapelberg
ea9088ae96
update debian packaging
14 years ago
Michael Stapelberg
6b0ce0d5aa
cleanup indention left-overs
14 years ago
Michael Stapelberg
7128f80020
bump copyright
14 years ago
Michael Stapelberg
c14cb4a250
Handle MappingNotify-events (Thanks Pascal)
14 years ago
Michael Stapelberg
a93f110584
use 'auth include login' instead of '@include login', the latter is debian-specific (Thanks mseed)
14 years ago
Michael Stapelberg
fc6b72eaec
add i3lock.pam (installed as /etc/pam.d/i3lock) which includes 'login' (Thanks Семён)
14 years ago
Michael Stapelberg
53987df490
Bugfix: correctly check for errors when connecting to X11
14 years ago
Michael Stapelberg
7ba6f07322
add XK_KP_Enter as synonym for XK_Return
14 years ago
Michael Stapelberg
f891929d34
Bugfix: Handle numpad keys correctly (Thanks Pascal)
14 years ago
Michael Stapelberg
3a22727bff
Bugfix: When entering 512 characters, you could use neither return nor backspace (Thanks carl)
14 years ago
Michael Stapelberg
c3affb1c61
Add a hint to the error message 'unknown option' when compiled with NOLIBCAIRO
14 years ago
Thorsten Töpper
c643bb8e2f
Make it possible to build i3lock without cairo.
14 years ago
Michael Stapelberg
bdf6c6b45d
comment out debug output (Thanks Ciprian)
15 years ago
Michael Stapelberg
bf31c90a5f
debian: change priority to optional
15 years ago
Michael Stapelberg
a850b52953
update debian packaging for i3lock 2.0 release
15 years ago
Michael Stapelberg
efde6a170d
print version number when invoked with -v
15 years ago
Michael Stapelberg
5d43c20538
manpage: add missing "specify" (Thanks xeen)
15 years ago
Michael Stapelberg
ab7f591db6
s/passwords/password (Thanks xeen)
15 years ago
Michael Stapelberg
3f168a54ce
Re-implement tiling of image (-t)
15 years ago
Michael Stapelberg
c1a34e7aa5
Fix compilation warning by including cairo-xcb
15 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
89434b4a88
disable debug output which reveals the password
(full debug output will be disabled for the next release)
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
6a52ba8bea
err, xcb_image is not actually used
15 years ago
Michael Stapelberg
0777390a65
s/arry/array
15 years ago
Michael Stapelberg
60776a8219
manpage: PNG instead of XPM
15 years ago
Michael Stapelberg
a1400462c2
manpage: s/tile/tiling
15 years ago
Michael Stapelberg
f1b78b46ec
debian: add missing libxcb-image0-dev
15 years ago
Michael Stapelberg
ac29391048
debian: update packaging
15 years ago
Michael Stapelberg
0d4f113094
Fix errors in i3lock.1
15 years ago
Michael Stapelberg
7622cee7ca
Mention pkg-config as requirement
15 years ago
Michael Stapelberg
54c1ff3f0e
Update manpage
15 years ago
Michael Stapelberg
1abea3bd81
Update README
15 years ago
Michael Stapelberg
1b62d96a1b
remove config.mk, no longer necessary
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
Axel Wagner
b4c10df0fc
Implement showing the default X- or a hardcoded Windows-Mousecursor.
15 years ago
Michael Stapelberg
2e5bee59d5
Skip keypresses without entering a password, they cause a delay
When suspending your system to RAM, a race-condition can occur which
causes many enter keypresses to be sent. These effectively delay
your login by 3 seconds times 50 times (or so), so we just skip empty
passwords. If your password is empty, you don’t need to lock your
screen anyway.
15 years ago
Michael Stapelberg
3fb6499373
Don’t strip when building, the distro’s build systems handle this
15 years ago
Michael Stapelberg
25fe0bf00d
Document dependency on libpam in README
16 years ago
Michael Stapelberg
ef1d47ce5b
Some small cleanups
16 years ago
Jan-Erik Rediger
1cddfc4a98
adding option to enable tiling of images
16 years ago
Michael Stapelberg
0b1d84bb7a
Update debian changelog
16 years ago
Michael Stapelberg
206036a852
Skip leading # signs for the color, fix input validation
16 years ago
Jan-Erik Rediger
9c4dee2e86
adding option to choose background color
16 years ago