Simon Ser
8283db2911
readme: update protocol deps
2022-02-02 15:52:17 +01:00
Simon Ser
c8795a8d23
readme: update release signature fingerprint
2022-02-02 15:48:45 +01:00
Simon Ser
c80733a06a
build: stop using sh to generate man pages
2022-02-02 15:44:41 +01:00
Simon Ser
55c018a350
build: lookup wayland-scanner dep, require 1.15
2022-02-02 15:42:29 +01:00
Simon Ser
c74a129246
build: stop aligning assignments
...
More consistent with our code style.
2022-02-02 15:35:52 +01:00
Simon Ser
2107830b1e
build: explicitly set check arg for run_command
...
References: https://github.com/mesonbuild/meson/issues/9300
2022-02-02 15:34:13 +01:00
Simon Ser
1d1c75b631
Add support for ext-session-lock-v1
...
This is a new protocol to lock the session [1]. It should be more
reliable than layer-shell + input-inhibitor.
[1]: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/131
2022-02-02 15:30:45 +01:00
Simon Ser
978ce49894
build: add Meson subproject fallback for wayland-protocols
...
This allows building swaylock with a local wayland-protocols.
2022-02-02 15:30:45 +01:00
Simon Ser
386f8f4241
build: bump Meson min version to 0.58
...
The next commit will need that version. Adjust the build to not
trigger deprecation warnings.
2022-02-02 15:30:45 +01:00
Jason Nader
5150d3869c
Add editorconfig
2021-11-19 09:20:25 +01:00
Simon Ser
2bf76009e1
Check for poll errors
2021-07-29 09:08:39 +02:00
grumpey
366db56553
Call fclose vice free, fixes #198
2021-07-11 19:52:55 +02:00
Michael Swiger
7ac62ebda1
Prevent attaching and committing the surface twice
2021-07-05 22:56:20 +02:00
Michael Swiger
4088033ff6
Fix indicator buffer not resizing after display powers off
2021-07-05 22:56:20 +02:00
Simon Plakolb
9754241080
Ensure buffer size is multiple of buffer scale
...
An odd value of fe.height lead to the indicator disappearing. This was
due to the buffer size no longer being a multiple of the buffer scale.
This commit fixes the issue by checking both height and width to be a
multiple of scale.
This is done early to avoid excessive re-calls of create_buffer if the
buffer_height != new_height in render.c line 314 (now 318).
2021-07-05 14:43:26 +02:00
loserMcloser
bac71d9c8d
Draw ring and inner fill separately
2021-06-22 19:30:11 +02:00
Elyes HAOUAS
baa1ae99df
Fix some typos
...
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
2021-04-12 21:28:59 +02:00
Simon Ser
9d3da72a39
Use wl_surface.damage_buffer
...
We incorrectly used the buffer size instead of the surface size.
Let's not bother and just damage the maximum region.
2021-02-17 16:50:38 +01:00
Simon Ser
05325b1197
Initialize indicator size to zero
...
Initializing to 1 is incorrect when the surface scale is > 1.
2021-02-17 16:50:38 +01:00
Simon Ser
691415bf95
pool-buffer: handle zero-sized buffers
...
mako does something similar.
2021-02-17 16:50:38 +01:00
Martin Dørum
235b925df7
Fix a potential use-after-free
2020-10-15 15:17:41 +02:00
Yaroslav
c46a5197a2
refresh pam credentials after successful authentication
2020-07-13 15:49:10 +02:00
Martin Dørum
a99afe6a70
Implement key repeat
2020-06-19 23:02:23 +02:00
Nils
a6b3a0956b
Use xkb_keymap_new_from_buffer instead of xkb_keymap_new_from_string
...
xkb_keymap_new_from_string just calls xkb_keymap_new_from_buffer with size as `strlen(string)`.
0f1cae0cc4/src/keymap.c (L164)
According to the [spec](https://gitlab.freedesktop.org/wayland/wayland/-/blob/master/protocol/wayland.xml#L2182 ), MAP_PRIVATE should be used.
2020-03-29 21:00:33 +02:00
Jakub Profota
73754703c5
Added --indicator-x/y-position
2020-03-06 15:21:24 +01:00
Jakub Profota
1620d98411
Added --indicator-x\y-position
2020-03-06 15:21:24 +01:00
Jakub Profota
18e2a70ddb
Added --indicator-x/y-position
2020-03-06 15:21:24 +01:00
Jakub Profota
6015f4450d
Added --indicator-x/y-position
2020-03-06 15:21:24 +01:00
Michael Vetter
5da2b1d861
Set version to 1.6
...
It seems this gets forgotten before doing a release.
Like last time: https://github.com/swaywm/swaylock/pull/84
So this time I will try differently and set it to the (probably)
next version number :-)
2020-01-23 07:30:27 -07:00
Eli Schwartz
89f1ede511
fish-completion: use the correct fallback directory
...
fish completions should never be installed to share/fish/completions/ as
that directory is reserved exclusively for completions shipped as part
of the fish source code.
Use the same vendor_completions.d/ directory which the default fish
configuration uses.
2020-01-22 09:19:47 -07:00
Eli Schwartz
3baa500c5e
completion: use pkg-config to get install location for bash/fish
...
Both shells provide pkg-config files which declare their designated
completionsdir. Use this as the primary source of truth.
2020-01-22 09:19:47 -07:00
Namkhai B
dee002155b
Remove FreeBSD-specific PAM configuration
...
Something in FreeBSD's PAM modules changed, and
now using the "passwd" configuration file fails to unlock
2020-01-06 13:18:25 -07:00
Matt Della
a7404e1096
Added option to adjust ring position via CLI arguments and the config file
2019-11-27 19:53:07 -05:00
Olegs Jeremejevs
426e1ce93d
Fix, clean up and sync docs and completions
2019-09-12 16:33:24 -04:00
HardDie
ba31e2eaee
Submit password by pressing Ctrl+m
...
As it work in emacs style console
2019-08-15 18:47:27 +03:00
Alexander Martin
666ae950bc
Adds option to show indicator even if idle
2019-08-04 02:15:49 -04:00
Martin Dørum
080e8356b7
properly fix indicator position
2019-07-20 10:06:33 +03:00
Martin Dørum
b1a7defa00
seed rand
2019-06-28 10:27:42 -04:00
Martin Dørum
25ce4b12bb
fix indicator position
2019-06-28 10:27:34 -04:00
Abdelhakim Qbaich
11560381bf
Damage state when the keyboard layout changes
2019-06-22 22:36:53 +03:00
Abdelhakim Qbaich
89b214612c
Resizable buffer size for the subsurface
2019-06-22 22:36:53 +03:00
Abdelhakim Qbaich
e049fa4868
Minor edits
2019-06-22 22:36:53 +03:00
Michael Vetter
a9b274eb6c
Adapt version number to actual release
2019-05-23 09:43:51 +03:00
Jan Beich
96e281fdb2
pool-buffer: add L suffix to POSIX version for consistency
2019-05-20 19:51:48 +03:00
Jan Beich
45c587e93c
loop: bump required POSIX version for poll()
2019-05-20 19:51:48 +03:00
Peter Kasza
183d1bd549
Add fixed font-size option for indicator
...
This commit adds a new command line option called --font-size to
specify a fixed font size in the indicator. The default value for
font-size is 0, which means that the text will autoscale. Any other
positive value will result in a fixed text size.
2019-05-05 09:25:59 -06:00
Gabriel Sanches
84bfc6c7ed
Submit password by pressing Ctrl+m ( close #75 )
2019-04-29 08:37:47 -06:00
Drew DeVault
f403cc0702
Merge pull request #73 from jeremiah-miller/add-hide-keyboard-layout
...
Add hide keyboard layout option
2019-04-22 16:14:09 -06:00
bbgun7
4971afb52d
Described hide-keyboard-layout option in swaylock.1.scd
2019-04-22 11:36:37 -07:00
bbgun7
86f4fea55e
Added hide keyboard layout option
2019-04-22 10:34:19 -07:00