Commit Graph

345 Commits (main)

Author SHA1 Message Date
Michael Stapelberg a7ebe81de1
load_keymap: handle error without corrupting global state (#353)
fixes https://github.com/i3/i3lock/issues/351
2024-04-10 08:09:55 +02:00
Michael Stapelberg d8e853e986 release v2.15 2024-03-16 10:32:39 +01:00
Vyacheslav Chigrin 3b6511d4a5
Display current keyboard layout when user types password. (#341)
This feature can be enabled using the --show-keyboard-layout (or -k) flag.
2023-06-19 23:48:08 +02:00
Michael Stapelberg 4891c1725c LICENSE: unify text with i3/LICENSE
fixes https://github.com/i3/i3lock/issues/337
2023-03-21 08:45:44 +01:00
Jan-Erik Rediger 60a5e4dae9
Remove myself from the man page (#327) 2022-08-30 18:39:02 +02:00
Michael Stapelberg e3f1430720 release v2.14.1 2022-06-21 17:34:12 +02:00
Michael Stapelberg 0d8ce95cd0
unlock_indicator: only show caps lock and num lock (Thanks sandwm) (#324)
fixes #322
2022-06-21 09:43:46 +02:00
Michael Stapelberg 0171394882 release v2.14 2022-05-28 15:53:49 +02:00
Michael Stapelberg fb9756d086 remove build step from meson-dist-script
This was only needed in i3 because we generate man pages and HTML documentation,
but we don’t need that in i3lock.
2022-05-26 12:33:05 +02:00
Michael Stapelberg f9cc3222ae meson.build: use install_man instead of install_data
Thanks to Eli Schwartz for the hint.
2022-05-26 12:33:05 +02:00
Michael Stapelberg d629e186cf
update build instructions in README (#318) 2022-05-20 11:37:04 +02:00
Michael Stapelberg 21380d9a39 Switch from Travis to GitHub Actions 2022-05-20 11:21:44 +02:00
Michael Stapelberg ea1cb44a30 Switch build system from autotools to meson 2022-05-20 11:21:44 +02:00
Michael Stapelberg 3216c40504 clang-format 2022-05-18 21:30:45 +02:00
Janczar Kurek deaf8b9f0f Display modifier key warning before unlocking, too
Info about mod keys such as Caps Lock is now displayed
during typing, not only on failed attempt.

Signed-off-by: Janczar Kurek <janczar.kurek@student.uj.edu.pl>
2022-05-18 21:28:59 +02:00
Ingo Bürk 5169138779
Merge pull request #312 from stapelberg/xss-lock
recommend using xss-lock to start i3lock
2022-02-28 08:09:50 +01:00
Michael Stapelberg 2ab9a397ab recommend using xss-lock to start i3lock
related to https://github.com/i3/i3lock/issues/207
related to https://github.com/i3/i3lock/issues/311
fixes https://github.com/i3/i3lock/issues/310
2022-02-27 23:55:57 +01:00
Panagiotis Vasilopoulos eb761b16ad
Changed background color to #a3a3a3 (#300) 2021-05-20 17:35:26 +02:00
Michael Stapelberg 4f76d51a3f release v2.13 2020-10-27 08:41:44 +01:00
felipe stival ed7185dca8
Throw error when trying to start on Wayland (#290) 2020-10-02 14:49:39 +02:00
Michael Ortmann 9f675b8a85
Use explicit_bzero() where available, not just on OpenBSD (#282) 2020-07-15 23:53:19 +02:00
Orestis Floros 79d102a70d
Merge pull request #283 from michaelortmann/static
Make 2 more functions static
2020-07-15 12:03:26 +02:00
Michael Ortmann 526c743369 Make 2 more functions static 2020-07-15 02:02:57 +02:00
Michael Stapelberg 198eccde24
Merge pull request #281 from stapelberg/clangfmt
Switch to clang-format-9 (like i3 itself)
2020-07-05 09:51:45 +02:00
Michael Stapelberg 8a0156cec6 travis: switch to clang-format-9 (now also in Docker) 2020-07-05 09:37:52 +02:00
Michael Stapelberg eff3bf0c5e clang-format: disable header re-ordering 2020-07-05 09:37:52 +02:00
Ingo Bürk f00b87550f
Merge pull request #280 from stapelberg/allocs
avoid pixmap allocations in the redraw path
2020-07-05 09:36:45 +02:00
Michael Stapelberg cd7172d415
make --debug output go to stderr (#279) 2020-07-05 09:24:18 +02:00
Michael Stapelberg 467e46c077 avoid pixmap allocations in the redraw path
Before this change, i3lock could become unusable on systems where pixmap
allocations take long.

I don’t know precisely why, but slow pixmap allocations is a symptom that my
computer sometimes exhibits, apparently when low on GPU memory.

In that situation, duplicate key press events would be processed (apparently
received from X11!), making correct password entry impossible.
2020-07-05 09:23:39 +02:00
Orestis Floros f3b061233e
Merge pull request #259 from trofi/master
unlock_indicator.c: fix build failure against gcc-10
2020-01-25 14:42:07 +01:00
Jeroen Roovers 3daf34bb03 unlock_indicator.c: fix build failure against gcc-10
On gcc-10 (and gcc-9 -fno-common) build fails as:

```
  CCLD     i3lock
ld: i3lock-unlock_indicator.o:i3lock/unlock_indicator.c:38:
  multiple definition of `input_position'; i3lock-i3lock.o:i3lock/i3lock.c:69: first defined here
ld: i3lock-unlock_indicator.o:(.bss+0x102): multiple definition of `__odr_asan.input_position'; i3lock-i3lock.o:(.bss+0x92b): first defined here
```

gcc-10 will change the default from -fcommon to fno-common:
https://gcc.gnu.org/PR85678.

The error also happens if CFLAGS=-fno-common passed explicitly.

Reported-by: Hans de Graaff
Bug: https://bugs.gentoo.org/706286
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2020-01-25 12:42:34 +00:00
Michael Stapelberg 656fa39f82
fix: pam_end in cleanup in main, not in event loop (#257)
Thanks to joanbm for an incredible bug report.

fixes #254
2020-01-20 22:49:10 +01:00
Michael Stapelberg 1b9b2bd7f8
set _NET_WM_BYPASS_COMPOSITOR hint to avoid flickering (#256)
For compositors which support it (picom >v7.5, formerly known as compton), this
should result in the i3lock window no longer being composited, hence fixing
issue #204.

related to #204
2020-01-20 22:17:01 +01:00
Ingo Bürk b9d72cb1f0
Merge pull request #255 from tnptop/master
Add missing dependencies in Requirements section
2020-01-02 15:46:31 +01:00
Thanapat Bhunnahet f97a82c6a1
Add missing dependencies in Requirements section 2020-01-02 21:05:05 +07:00
Ingo Bürk f6e0218fa7
Merge pull request #247 from ivanhercaz/patch-1
Add a note about the image processing issues
2019-09-27 07:14:20 +02:00
ivanhercaz c41c0e11c5
Rewrite the note about image manipulation (#247)
According to the change requested by @Airblader.
2019-09-24 21:26:39 +01:00
Iván ced992a807
Add a note about the image processing issues
As it is indicated in #37, #62, #66 and #85, i3lock doesn't planned to add this feature.
2019-09-20 12:47:58 +00:00
Michael Stapelberg abe1e3c85d Update CHANGELOG, I3LOCK_VERSION, configure.ac 2019-07-21 11:14:54 +02:00
Michael Stapelberg db7e3ba222 i3lock.1: --raw: add an example of how to use convert(1) 2019-07-21 11:14:54 +02:00
Ingo Bürk 09fd83342a
Merge pull request #241 from stapelberg/master
Revert "Add option to lock TTY switching"
2019-07-21 10:25:18 +02:00
Michael Stapelberg ad056ca396 Revert "Add option to lock TTY switching"
This reverts commit dcfcba3ed4.

As-is, this requires i3lock to be run with too many permissions, for a feature
which many users will never need. In issue #231, we concluded that interested
users are better off using a dedicated virtual console locker such as vlock(1).

related to #231
2019-07-21 10:16:16 +02:00
Orestis e30ce8e074
Merge pull request #235 from mortie/patch-1
Remove one last reference to the -r shortopt
2019-05-26 00:22:06 +03:00
Martin Dørum 74d2abf63d
Remove one last reference to the -r shortopt
I'm sorry I missed this earlier. I just noticed it now while reading through a diff.
2019-05-25 23:15:25 +02:00
Martin Dørum aa7984f215 Add rgbx, xrgb, bgr, etc. formats (#234) 2019-05-23 21:03:48 -04:00
Martin Dørum 0be11444bc Remove shortopt from --raw (#232) 2019-05-23 19:07:51 -04:00
Martin Dørum ebf3428f10 Add a --raw option to read image as raw bytes (#226) 2019-05-20 08:20:55 -04:00
Ingo Bürk 78a601bf98
Merge pull request #213 from trickeydan/patch-1
Rename Win Key to Super Key
2019-04-12 08:29:09 +02:00
Ingo Bürk 6d8a8d57f2
Merge pull request #223 from jtpereyda/ubuntu-install
add ubuntu install instructions
2019-04-12 08:23:51 +02:00
Joshua Pereyda d0157b8c10 Install instructions just point to the website 2019-03-18 13:22:34 -07:00