Commit Graph

11 Commits (d91fdc368e4e119f4673e23741dbf2718624de45)

Author SHA1 Message Date
Sebastian Ullrich e0213cb1f5 Fix centering the indicator in the no-xinerama case 2013-03-29 10:14:01 +01:00
Michael Stapelberg fba88476dd remove support for NOLIBCAIRO, cairo-xcb is widespread by now 2012-10-26 20:42:26 +02:00
Michael Stapelberg e1d86a3279 use libxkbcommon for input handling
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-10-26 20:39:59 +02:00
Michael Stapelberg 9b29ae7afd Bugfix: Correctly center unlock indicator after reconfiguring screens (Thanks xn)
Fixes: #712
2012-05-19 21:13:03 +02:00
Michael Stapelberg dc2b6e5f39 Use (void) instead of () for functions without args (Thanks fernandotcl)
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-04-01 12:28:28 +02:00
Michael Stapelberg 2053e9880a Bugfix: Fix background color when using cairo (Thanks Pascal) 2012-03-26 18:59:41 +02:00
Simon Kämpe f368bbd006 Added missing #ifndef NOLIBCAIRO
Needed to compile without libcairo.
2012-01-07 11:47:20 +00:00
Michael Stapelberg 5e14ad0605 draw the unlock indicator in the middle of every screen 2012-01-04 00:10:36 +00:00
Michael Stapelberg 02655d2ddf Fix a few memory leaks 2012-01-03 22:31:16 +00:00
Michael Stapelberg 0e7e009f45 Properly free timeouts, move one of the timeouts to unlock_indicator.c 2012-01-03 22:18:33 +00:00
Michael Stapelberg 57585bef70 Refactor the unlock indicator into its own source code file 2012-01-03 20:56:05 +00:00