Commit Graph

33 Commits (be02e80ef03a89b04dd819a622de3ce3bfecb541)

Author SHA1 Message Date
Michael Stapelberg c311d1c5a3 Use RandR for learning about attached monitors
The code now tries the following options, in order:

• obtain monitors via RandR 1.5
• obtain outputs via RandR ≤ 1.4
• obtain screens via Xinerama

fixes #159
related to #101
related to #148
related to #149
2017-11-18 10:48:25 +01:00
Kaashif Hymabaccus 2d7f846c3c
Only use -lpam when not on OpenBSD 2017-07-09 17:52:32 +01:00
Ingo Bürk 10416e270b Revert "Fix covering of composited notifications (#96)" (#133)
This reverts commit 80d4452ec6.

fixes #130
2017-06-20 09:53:42 +02:00
Michael Stapelberg a0abccf8f3 Makefile: fix I3LOCK_VERSION replacement
fixes #129
2017-06-18 17:56:05 +02:00
Jasper Lievisse Adriaanse 68fc2e8b5f Use bsd_auth(3) instead of PAM on OpenBSD
Also apply two security measures for OpenBSD:
- use explicit_bzero(3)
- mlock(2) works for non-root users too
2017-04-17 15:06:59 +02:00
Jasper Lievisse Adriaanse 15973d1f52 Move all PAM code behind UES_PAM and enable that by default. 2017-04-15 09:49:41 +02:00
Jasper Lievisse Adriaanse 5aff9594aa Remove last traces of DPMS 2017-04-14 20:00:23 +02:00
martin 80d4452ec6 Fix covering of composited notifications (#96)
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.
2017-03-26 09:01:23 -04:00
eplanet 0d111aaede Added version files for release tarball. Fixes #40 (#86) 2016-08-13 13:46:35 -07:00
Michael Stapelberg 5b7ee05581 makefile: s/README/README.md/ 2015-05-20 09:00:19 +02:00
Nikolay Orlyuk a02789367c Make pkg-config configurable 2015-04-27 17:46:27 +03:00
Michael Stapelberg 1b89709ae7 listen for XKB events instead of the MappingNotify event (Thanks Ran) 2014-06-21 16:32:18 +02:00
Michael Stapelberg 7eb43aeabd little cleanups thanks to Ran Benita’s review 2014-06-21 16:32:18 +02:00
Michael Stapelberg 0beb9a47b1 use libxkbcommon-x11 instead of libX11 2014-06-21 16:32:18 +02:00
Michael Stapelberg 6191590e5c Scale the unlock indicator (for retina displays) 2014-05-02 19:57:22 +02:00
Michael Stapelberg a72e0de842 add xcb-atom to pkg-config calls 2013-06-09 11:48:39 +02: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 79398d9102 add CHANGELOG file 2012-04-01 13:14:25 +02:00
Michael Stapelberg 324149ea77 fix compilation on some systems (Thanks badboy) 2012-03-15 13:50:51 +01:00
Michael Stapelberg fd64bde0cb Implement Xinerama support (not used yet) 2012-01-03 23:10:56 +00:00
Michael Stapelberg f216517bb0 Implement a visual unlock indicator 2011-12-28 20:28:18 +01:00
Michael Stapelberg 47db98efd2 Makefile: add 'dist' target 2011-11-06 14:20:40 +00:00
Michael Stapelberg 4b9a1c94ab makefile: respect and use CPPFLAGS / LIBS (Thanks Kacper) 2011-07-13 16:56:27 +02:00
Michael Stapelberg fc6b72eaec add i3lock.pam (installed as /etc/pam.d/i3lock) which includes 'login' (Thanks Семён) 2011-01-20 10:36:03 +01:00
Thorsten Töpper c643bb8e2f Make it possible to build i3lock without cairo. 2010-10-06 23:37:31 +02:00
Michael Stapelberg efde6a170d print version number when invoked with -v 2010-07-23 23:13:41 +02:00
Axel Wagner 0c4b4df75e Port the pointer-code to xcb 2010-07-20 22:56:47 +02:00
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)
2010-07-16 17:35:51 +02:00
Michael Stapelberg 4a2f8ac86e debian: update changelog, control. We can finally drop the suid bit :-) 2009-05-10 13:04:45 +02:00
Michael Stapelberg a6f0a6955a Forgot one instance of slock in Makefile 2009-03-11 23:49:32 +01:00
Michael Stapelberg 2105ce8cc7 Add a manpage and install it, update debian description 2009-03-11 23:44:39 +01:00
Michael Stapelberg 9167263286 Initial import of i3lock 0.9 2009-03-11 22:17:00 +01:00