Commit Graph

332 Commits (3216c40504b7c65f5877ef798b5ea41db28f2ab6)

Author SHA1 Message Date
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
Joshua Pereyda a355bed013 fix Install title copypasta 2019-03-08 11:35:48 -08:00
Joshua Pereyda bad32996f3 add ubuntu install instructions 2019-03-08 11:29:33 -08:00
Ingo Bürk a395006844
Merge pull request #218 from ivanvig/wm_class-patch
added wm_class property
2019-01-15 20:59:38 +01:00
ivanvig 7e3c06c85b added WM_CLASS property 2019-01-15 16:10:39 -03:00
Ingo Bürk 393fb2ed55
Merge pull request #219 from MotoQuick/patch-1
Labels are now replaced with capital letters in the beginning
2019-01-15 17:32:37 +01:00
Edward P cae21b65c6
Labels are now replaced with capital letters in the beginning 2019-01-15 00:11:19 +02:00
Orestis dfe167bcac
Merge pull request #216 from pclouds/no-newline-in-errx
Remove \n from errx messages
2019-01-02 11:29:58 +02:00
Nguyễn Thái Ngọc Duy aad012484e Remove \n from errx messages
errx() already appends \n internally. "\n" in the error message will
result in a blank line after the message.
2019-01-01 19:12:39 +07:00
Dan Trickey b33fd9dc9e
Rename Win Key to Super Key 2018-12-17 16:29:30 +00:00
Ingo Bürk 581f225484
Merge pull request #183 from LorianColtof/master
Add command line option to lock TTY switching
2018-12-03 18:25:26 +01:00
Ingo Bürk 67524fbd0f
Merge pull request #208 from eplanet/install-file
Add build instructions
2018-12-03 07:06:15 +01:00
eplanet 6c3c7fc615 Add build instructions 2018-12-02 14:06:04 +01:00
Lorian Coltof dcfcba3ed4 Add option to lock TTY switching 2018-11-29 14:22:19 +01:00