Commit Graph

345 Commits (main)

Author SHA1 Message Date
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
Michael Stapelberg d9bcb58cc6 update I3LOCK_VERSION 2018-10-18 08:35:49 +02:00
Michael Stapelberg 4817fcc724 Update CHANGELOG and I3LOCK_VERSION 2018-10-18 08:35:31 +02:00
Orestis 8c993d25f5
Merge pull request #202 from stapelberg/version
Makefile: include I3LOCK_VERSION in dist tarballs
2018-10-16 11:29:02 +03:00
Michael Stapelberg 7c20c9a3e3 Makefile: include I3LOCK_VERSION in dist tarballs
fixes #129
2018-10-16 08:32:28 +02:00
Michael Stapelberg a5c588a8eb Update CHANGELOG and I3LOCK_VERSION 2018-10-10 18:18:03 +02:00
Orestis f74c013576
Merge pull request #188 from Airblader/feature-issue-template
Added ISSUE_TEMPLATE.md
2018-09-07 22:53:01 +03:00
Ingo Bürk 3f8b0a12c3
Merge pull request #192 from layus/fast-type
Keep only the last attempt for retry_verification
2018-08-23 14:50:20 +02:00
Guillaume Maudoux 50c81d5717 Keep only the last attempt for retry_verification 2018-08-23 13:35:20 +02:00
Ingo Bürk 10b8170f55 Added ISSUE_TEMPLATE.md 2018-05-20 16:53:55 +02:00
Ingo Bürk ad680b4019
Merge pull request #185 from stapelberg/dpi
Respect Xft.dpi for determining the unlock indicator’s scale factor
2018-05-11 16:06:20 +02:00
Michael Stapelberg ec5f21d1f8 travis: build in Debian sid Docker container 2018-05-11 15:40:43 +02:00
Michael Stapelberg 28ad24e0ce clang-format-3.5 2018-05-11 13:40:18 +02:00
Michael Stapelberg f9c30db62b Respect Xft.dpi for determining the unlock indicator’s scale factor
fixes #184
2018-05-11 13:28:06 +02:00
Ingo Bürk ae72b675ca
Merge pull request #179 from karulont/master
Fix memory leak when grabbing fails
2018-03-19 14:37:37 +01:00
Karl Tarbe 1668b2fc0f Fix memory leak when grabbing fails 2018-03-09 17:04:20 +02:00
Ingo Bürk bcbfee0a17
Merge pull request #177 from SegFault42/master
return value corrected
2018-02-13 10:59:30 +01:00
SegFault42 7a80375e1f return value corrected 2018-02-12 00:48:28 +01:00
Emeric Planet b34ae89d30 Check PNG file compliance (#171) 2018-01-30 22:50:38 +01:00
Michael Stapelberg 6b53758e14
display error when backspace is pressed without any input (#172)
This adds some feedback to a keypress which previously had no visible effect.

While the text “no input” isn’t the most descriptive, it was the only one I
could think of which fit into the unlock indicator circle. If you have a better
suggestion, let me know.

fixes #164
2018-01-14 22:17:43 +01:00
Jasper Lievisse Adriaanse 8c3a110c6a make the check for libpam conditional (#165) 2017-12-11 08:29:30 +01:00
Michael Stapelberg ef4f9e4057
Switch to autotools (#163)
This was largely copied from the i3 configure.ac and Makefile.am.
2017-12-02 10:08:54 +01:00
Michael Stapelberg be02e80ef0 Update CHANGELOG and I3LOCK_VERSION 2017-11-25 08:13:28 +01:00
Michael Stapelberg d4beaa3bf8
Merge pull request #160 from stapelberg/randr
Use RandR for learning about attached monitors
2017-11-18 03:04:19 -08:00
Michael Stapelberg a514472ec4 Rename xinerama.[ch] to randr.[ch] 2017-11-18 10:51:35 +01:00
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
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
2017-10-22 22:16:34 +02:00
Michael Stapelberg d3636246de Measure wall-clock time instead of CPU time for “locking” indicator. (#153)
related to https://github.com/i3/i3lock/issues/35
2017-10-22 00:32:57 +02:00
Michael Stapelberg d52cc44605 travis: wily is gone, so take libxkbcommon ≥ 0.5.0 from xenial (#154) 2017-10-22 00:22:10 +02:00
Orestis 8eecef62fb Immediately hide the unlock indicator after ESC / C-u (#145) 2017-10-21 23:15:15 +02:00
Ingo Bürk 698204a987 Merge pull request #135 from grandchild/fix_optind_overwrite
Fix shadowing of getopt optind
2017-08-13 17:26:38 +02:00
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
2017-08-13 17:25:25 +02:00
Ran Benita 76d9960dbe Change the locale discovery procedure to treat empty string same as unset
This is explained in the commit message here:
f468f0b243
2017-08-13 18:08:39 +03:00
Ingo Bürk 3009ab422d Merge pull request #136 from kaashif/openbsd-no-pam
Only use -lpam when not on OpenBSD
2017-07-10 13:16:16 +02:00
Kaashif Hymabaccus 2d7f846c3c
Only use -lpam when not on OpenBSD 2017-07-09 17:52:32 +01:00
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
2017-07-06 17:08:12 +02:00
Michael Stapelberg 8e6e47fe0a update CHANGELOG and I3LOCK_VERSION 2017-06-21 18:18:05 +02: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