Michael Stapelberg
5b4d45a8af
SetInputFocus to the i3lock window to force-close context menus ( #155 )
When grabbing the pointer/keyboard fails, a new code path is activated, which:
1. Uses the standards-compliant _NET_ACTIVE_WINDOW root window property to
determine the window to restore focus to.
2. Sets the input focus to the i3lock window, thereby possibly force-closing
open context menus (works with e.g. Google Chrome, does not work with
e.g. thunar, gedit).
3. Upon exiting, restores focus to the window from step ① by sending a
_NET_ACTIVE_WINDOW ClientMessage to the root window. Note that this step
requires https://github.com/i3/i3/pull/3027 in i3 to not mess up focus.
fixes https://github.com/i3/i3lock/issues/35
7 years ago
Michael Stapelberg
d3636246de
Measure wall-clock time instead of CPU time for “locking” indicator. ( #153 )
related to https://github.com/i3/i3lock/issues/35
7 years ago
Michael Stapelberg
d52cc44605
travis: wily is gone, so take libxkbcommon ≥ 0.5.0 from xenial ( #154 )
7 years ago
Orestis
8eecef62fb
Immediately hide the unlock indicator after ESC / C-u ( #145 )
7 years ago
Ingo Bürk
698204a987
Merge pull request #135 from grandchild/fix_optind_overwrite
Fix shadowing of getopt optind
7 years ago
Ingo Bürk
14667d8304
Merge pull request #140 from bluetech/fix-locale-discovery
Change the locale discovery procedure to treat empty string same as unset
7 years ago
Ran Benita
76d9960dbe
Change the locale discovery procedure to treat empty string same as unset
This is explained in the commit message here:
f468f0b243
7 years ago
Ingo Bürk
3009ab422d
Merge pull request #136 from kaashif/openbsd-no-pam
Only use -lpam when not on OpenBSD
8 years ago
Kaashif Hymabaccus
2d7f846c3c
Only use -lpam when not on OpenBSD
8 years ago
jakob
cddb87420b
Fix overwrite of getopt optind
Using 'optind' in getopt_long() shadows actual 'optind' being provided
by getopt, thus prevents any future options change from using optind.
See https://www.gnu.org/software/libc/manual/html_node/Getopt-Long-Options.html#index-getopt_005flong
8 years ago
Michael Stapelberg
8e6e47fe0a
update CHANGELOG and I3LOCK_VERSION
8 years ago
Ingo Bürk
10416e270b
Revert "Fix covering of composited notifications ( #96 )" ( #133 )
This reverts commit 80d4452ec6
.
fixes #130
8 years ago
Ingo Bürk
8293749cfb
Merge pull request #132 from stapelberg/fix-version
Fix version
8 years ago
Michael Stapelberg
a0abccf8f3
Makefile: fix I3LOCK_VERSION replacement
fixes #129
8 years ago
Michael Stapelberg
90c24c3a28
update I3LOCK_VERSION (forgotten at release time)
8 years ago
Michael Stapelberg
5ab19daa5c
update CHANGELOG
8 years ago
Ingo Bürk
7cf393fb7e
Merge pull request #125 from jasperla/mlock
Restore intended behaviour and don't use mlock(2) on OpenBSD.
8 years ago
Jasper Lievisse Adriaanse
ea65a5292d
Restore intended behaviour and don't use mlock(2) on OpenBSD.
8 years ago
Michael Stapelberg
0bed914e8e
Merge pull request #123 from jasperla/bsdauth
Add support for bsd_auth(3) as authentication backend
8 years ago
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
8 years ago
Jasper Lievisse Adriaanse
15973d1f52
Move all PAM code behind UES_PAM and enable that by default.
8 years ago
Jasper Lievisse Adriaanse
c1de117825
Rename all PAM-independant variables/comments.
there is nothing PAM-specific about pam_state or pam_state_t. therefore
rename them to be authenticator independant.
8 years ago
Ingo Bürk
512c10f1dd
Merge pull request #122 from jasperla/dpms
Remove last traces of DPMS
8 years ago
Jasper Lievisse Adriaanse
5aff9594aa
Remove last traces of DPMS
8 years ago
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.
8 years ago
Bownairo
9c8ae8b5d1
Change input slices to be exactly pi/3 in size instead of slightly more ( #107 )
8 years ago
Nicolò Balzarotti
7504e16527
Add Enter on C-m ( #103 )
8 years ago
eplanet
d2130092cf
Display error message when locking failed ( #99 )
To give a feedback for when the pointer couldn't be grabbed,
displaying an error message before exiting.
8 years ago
eplanet
1c97a84847
Displaying locking message when grabbing the pointer/keyboard. ( #88 )
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.
8 years ago
Diogo Ferreira
fd2215b0f0
i3lock: Stop leaking the image_path dup. ( #93 )
8 years ago
koebi
17b7b77893
unlock automatically after authentication failure ( #90 )
This will make i3 unlock automatically after authentication failure and
correct input without pressing <Enter> again after the "wrong"-indicator
is gone.
8 years ago
Vasilij Schneidermann
893aff1bd0
Set font face ( #89 )
8 years ago
eplanet
0d111aaede
Added version files for release tarball. Fixes #40 ( #86 )
8 years ago
Florian Zipperle
cca7d4e6c3
Removed obsolete inactivity timeout ( #84 )
* Removed obsolete inactivity timeout
9 years ago
Michael Stapelberg
679fb57acc
i3lock.1: use signal names without SIG prefix (Thanks rodfersou)
see #32
9 years ago
Michael Stapelberg
619c791a20
update CHANGELOG
9 years ago
Michael Stapelberg
ce1c5cecc0
clang-format-3.5
Not sure why travis didn’t warn about this on the PR. The only reference
to the PR I can find is https://travis-ci.org/i3/i3lock/builds/130470377
9 years ago
Michael Stapelberg
a5c6b2653e
add CONTRIBUTING.md
…so that people know we don’t want to extend i3lock’s image handling.
related to #81 , #68 , #31
9 years ago
Christoph Ruegge
463d38fed6
Add support for `xss-lock --transfer-sleep-lock' ( #75 )
Add support for `xss-lock --transfer-sleep-lock'
9 years ago
martin
402254b575
Flush xcb connection after opening fullscreen window ( #74 )
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
9 years ago
Karl Tarbe
9a7604bb35
Allow CTRL+J as enter and CTRL+H as backspace ( #72 )
fixes #71
9 years ago
Michael Stapelberg
59705b05b5
Show unlock indicator if password was entered during PAM verification
fixes #51
9 years ago
Michael Stapelberg
0bdc0c644d
Eat XKB_KEY_Delete and XKB_KEY_KP_Delete (Thanks bebehei)
fixes #50
9 years ago
Michael Stapelberg
cc73d88aea
Remove libxkbfile dependency from README.md/comments
It has not been in use since commit 7eb43aeabd
9 years ago
Michael Stapelberg
b181e3137b
use trusty, install libxkbcommon-dev from wily
9 years ago
Michael Stapelberg
d15cb5978e
travis: install clang-format-3.5 from llvm repository
Ubuntu utopic disappeared from archive.ubuntu.com, it’s EOL.
9 years ago
Michael Stapelberg
688d49d5b8
fix pam_securetty: set PAM_TTY to getenv("DISPLAY")
fixes #43
9 years ago
Michael Stapelberg
929e541fb7
Remove DPMS support in favor of a wrapper script and xset(1).
fixes #32
10 years ago
Michael Stapelberg
c5bb1d55e0
Merge pull request #24 from ixjlyons/timeout-doc
Indicate that the --inactivity-timeout option takes an argument.
10 years ago
Kenneth Lyons
d91c20a9f2
Indicate that the --inactivity-timeout option takes an argument.
10 years ago