summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-05-19Bugfix: Correctly center unlock indicator after reconfiguring screens ↵Michael Stapelberg
(Thanks xn) Fixes: #712
2012-04-08remove debian/Michael Stapelberg
The Debian packaging is now hosted on Debian servers at git://git.debian.org/users/stapelberg/i3lock.git This makes life easier for Debian people. It makes life harder for you if you want to build a Debian package of the current git version. Here is how you could do that now: Build a tarball of the current git version: mkdir ../i3lock-dpkg VERSION=i3lock-$(git describe --tags) git archive --prefix=$VERSION/ --output=../i3lock-dpkg/$VERSION.tar.bz2 HEAD get the packaging: cd ../i3lock-dpkg gbp-clone git://git.debian.org/users/stapelberg/i3lock.git cd i3lock git-import-orig ../$VERSION.tar.bz2 dpkg-buildpackage
2012-04-07add .gitignoreMichael Stapelberg
2012-04-01add CHANGELOG fileMichael Stapelberg
2012-04-01Use (void) instead of () for functions without args (Thanks fernandotcl)Michael Stapelberg
See also: http://article.gmane.org/gmane.linux.kernel/1268792 The C compiler will handle (void) as "no arguments" and () as "variadic function" (equivalent to (...)) which might lead to subtle errors, such as the one which was fixed with commit 0ea64ae4.
2012-03-28Bugfix: fallback when the image cannot be loadedMichael Stapelberg
If the specified file does not exist or is invalid, previously, the unlock indicator wouldn’t show up at all, because the invalid surface was still used. With this commit, i3lock will react like if you didn’t specify an image at all.
2012-03-26Only output text when in debug mode (fixes problems with xautolock)Michael Stapelberg
2012-03-26Bugfix: Fix background color when using cairo (Thanks Pascal)Michael Stapelberg
2012-03-15debian: update changelog for 2.3.1Michael Stapelberg
2012-03-15fix compilation on some systems (Thanks badboy)Michael Stapelberg
2012-03-15debian: fix packaging format to 1.0 for nowMichael Stapelberg
2012-03-15debian: remove duplicate priority fieldMichael Stapelberg
2012-03-15manpage: add -u flag in synopsisMichael Stapelberg
2012-03-15manpage: hyphenMichael Stapelberg
2012-03-15debian: update packagingMichael Stapelberg
2012-03-15README: also add libev to dependenciesMichael Stapelberg
2012-03-15document the dependency on libxcb-xineramaMichael Stapelberg
2012-03-10Properly handle Caps Lock (Thanks Damien)Michael Stapelberg
2012-02-23man page: mention xautolockMaik Fischer
2012-01-15Bugfix: Copy the color depth from parent (root) window instead of hardcoding ↵Michael Stapelberg
to 24 (Thanks hafron)
2012-01-07Added missing #ifndef NOLIBCAIROSimon Kämpe
Needed to compile without libcairo.
2012-01-05Bugfix: Check for waiting X11 events before entering the event loopMichael Stapelberg
2012-01-05Change the unlock indicator properly after pressing the 'escape' keyMichael Stapelberg
2012-01-04debian: add libxcb-xinerama0-dev as build-dependencyMichael Stapelberg
2012-01-04draw the unlock indicator in the middle of every screenMichael Stapelberg
2012-01-03Implement Xinerama support (not used yet)Michael Stapelberg
2012-01-03Fix a few memory leaksMichael Stapelberg
2012-01-03Properly free timeouts, move one of the timeouts to unlock_indicator.cMichael Stapelberg
2012-01-03remove the dead variable modeswitchmaskMichael Stapelberg
2012-01-03Properly free the reply of xcb_get_geometryMichael Stapelberg
2012-01-03Refactor the unlock indicator into its own source code fileMichael Stapelberg
2012-01-03Fork after the window is visible, not beforeMichael Stapelberg
2012-01-03change ALL the copyrights!Michael Stapelberg
2012-01-03Lock the password buffer in memory, clear it in RAM after verifyingMichael Stapelberg
2011-12-30support ISO_Level5_Shift (Thanks roland)Michael Stapelberg
2011-12-29Fix the timeouts for hiding the unlock indicator (Thanks Merovius)Michael Stapelberg
2011-12-28Properly free X11 resources (fixes DoS bug) (Thanks Merovius)Michael Stapelberg
2011-12-28Implement a visual unlock indicatorMichael Stapelberg
2011-11-06debian: update packaging to use dpkg-buildflags, i3lock.manpagesMichael Stapelberg
2011-11-06Makefile: add 'dist' targetMichael Stapelberg
2011-11-06Properly implement -h (fixes error message about unknown option)Michael Stapelberg
2011-11-06Get rid of superfluous \n in --versionMichael Stapelberg
2011-11-06update debian/changelogMichael Stapelberg
2011-10-30Bugfix: Properly detect the release of ISO_Level3_Shift (Thanks bacardi55)Michael Stapelberg
2011-10-29Introduce --debug and some debugging options related to the Mode_switch / ↵Michael Stapelberg
ISO_Level3_Shift thing
2011-10-29Correctly handle Mode_switch/ISO_Level3_Shift (Thanks bacardi55)Michael Stapelberg
I tested this with the following experiment: $ setxkbmap 'us(intl)' $ xmodmap ~/configfiles/midna/Xmodmap $ xmodmap -e 'keycode 38 = a A adiaeresis Adiaeresis o O' $ xmodmap -e 'keycode 49 = ISO_Level3_Shift ISO_Level3_Shift ISO_Level3_Shift ISO_Level3_Shift' Then, Mode_switch + a yields ä, but ` + a yields o. In i3lock, these were swapped (Mode_switch + a yielded o, while ä was not reachable at all). The comment in the code explains it (See http://code.stapelberg.de/git/configfiles for the Xmodmap)
2011-10-24Bugfix: Don’t re-grab pointer/keyboard on MappingNotify (Thanks wilmer)Michael Stapelberg
This fixes bug http://bugs.i3wm.org/545, where characters (of your password) would rarely slip through when entering your password (especially) after resuming your notebook from suspend to RAM. The reason is that when resuming, X triggers one or more MappingNotify events. At the same time, CPU load is high. This leads to a race-condition between the ungrab and re-grab in which i3lock temporarily does not grab the keyboard. One way to fix this is using xcb_grab_server() before and xcb_ungrab_server() after the ungrab/re-grab. However, I think we actually don’t need to ungrab/re-grab at all. I seem to have put that code in here by mistake – in i3, we re-grab after MappingNotify, but there we only grab specific keys. In i3lock, we grab the whole pointer/keyboard, so there should be no need. If I’m incorrect and this breaks some subtle use-cases for people with strange layout setup, at least we can properly document on why we need it, after we put it back in ;).
2011-09-25manpage: mention arguments in OPTIONS section, too (Thanks TrickSTer)Michael Stapelberg
2011-09-25Throw an error when specifying an invalid pointer argument (-p) (Thanks ↵Michael Stapelberg
TrickSTer)
2011-08-24Fixed handle_screen_resize to build with NOLIBCAIRO enabledThorsten Töpper