<feed xmlns='http://www.w3.org/2005/Atom'>
<title>swaylock/.git, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/'/>
<entry>
<title>main: don't abort when an image path expands to no words</title>
<updated>2026-10-29T08:38:09+00:00</updated>
<author>
<name>Martin Trojer</name>
<email>martin.trojer@gmail.com</email>
</author>
<published>2026-10-29T08:35:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=701a352e7eb03f5daf4252ea0a0f7aa437819b71'/>
<id>701a352e7eb03f5daf4252ea0a0f7aa437819b71</id>
<content type='text'>
An expansion can yield no words (e.g. -i '' or an unset variable),
which made join_args() assert and swaylock abort before locking.
Use an empty path in that case, so loading it fails normally and
swaylock carries on and locks, instead of falling back to the
unexpanded string. Also free path and output_name on the
failed-load return.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An expansion can yield no words (e.g. -i '' or an unset variable),
which made join_args() assert and swaylock abort before locking.
Use an empty path in that case, so loading it fails normally and
swaylock carries on and locks, instead of falling back to the
unexpanded string. Also free path and output_name on the
failed-load return.
</pre>
</div>
</content>
</entry>
<entry>
<title>seat: don't repeat password submission</title>
<updated>2026-10-29T07:11:12+00:00</updated>
<author>
<name>Martin Trojer</name>
<email>martin.trojer@gmail.com</email>
</author>
<published>2026-10-29T06:58:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=6ad9ebf3e14deac54a298c10df3e8701061fe495'/>
<id>6ad9ebf3e14deac54a298c10df3e8701061fe495</id>
<content type='text'>
Thread a bool repeat flag from the key-repeat timer into
swaylock_handle_key (real presses pass false) and skip
submit_password on repeats, so holding Return/KP_Enter or
Ctrl-D/J/M no longer sends repeated attempts to PAM. Repeats
of other keys are unchanged, and the submit keys stay defined
in one place (password.c).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Thread a bool repeat flag from the key-repeat timer into
swaylock_handle_key (real presses pass false) and skip
submit_password on repeats, so holding Return/KP_Enter or
Ctrl-D/J/M no longer sends repeated attempts to PAM. Repeats
of other keys are unchanged, and the submit keys stay defined
in one place (password.c).
</pre>
</div>
</content>
</entry>
<entry>
<title>main: destroy replaced image surface with cairo_surface_destroy</title>
<updated>2026-10-28T21:01:33+00:00</updated>
<author>
<name>Martin Trojer</name>
<email>martin.trojer@gmail.com</email>
</author>
<published>2026-10-28T07:23:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=711bbd9de97ff3df672690042000df9f753ab8bd'/>
<id>711bbd9de97ff3df672690042000df9f753ab8bd</id>
<content type='text'>
A later -i for the same output replaces the earlier image, but the old
cairo surface was released with free(), leaking its pixel buffer.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A later -i for the same output replaces the earlier image, but the old
cairo surface was released with free(), leaking its pixel buffer.
</pre>
</div>
</content>
</entry>
<entry>
<title>build: bump version to 1.8.6</title>
<updated>2026-07-09T15:58:38+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2026-07-09T15:58:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=44b82de635c3bc66b0093abd1cf8cc1c8b1b9c0f'/>
<id>44b82de635c3bc66b0093abd1cf8cc1c8b1b9c0f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix stray character in password buffer after suspend/resume cycle</title>
<updated>2026-07-09T15:47:35+00:00</updated>
<author>
<name>Constantin</name>
<email>40324023+derconno@users.noreply.github.com</email>
</author>
<published>2026-07-09T15:47:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=8f80ee8cf527b80743b8c0d42f1623181811657c'/>
<id>8f80ee8cf527b80743b8c0d42f1623181811657c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>main: fix reversed dup2 arguments in daemonize</title>
<updated>2026-07-09T09:58:43+00:00</updated>
<author>
<name>Sergey Zagursky</name>
<email>sz@joom.com</email>
</author>
<published>2026-07-09T08:23:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=83319e5ec7ae13794ebf39f753d643a2a439f594'/>
<id>83319e5ec7ae13794ebf39f753d643a2a439f594</id>
<content type='text'>
daemonize() intends to redirect the daemon's stdout and stderr to
/dev/null, but the dup2() arguments are reversed. dup2(oldfd, newfd)
duplicates oldfd onto newfd; the code passes STDOUT_FILENO/STDERR_FILENO
as oldfd and the freshly opened /dev/null descriptor as newfd, so it
overwrites the /dev/null fd with stdout/stderr and then closes it.
stdout and stderr are never redirected and stay attached to the
controlling terminal.

Swap the arguments so /dev/null is duplicated onto STDOUT_FILENO and
STDERR_FILENO as intended.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
daemonize() intends to redirect the daemon's stdout and stderr to
/dev/null, but the dup2() arguments are reversed. dup2(oldfd, newfd)
duplicates oldfd onto newfd; the code passes STDOUT_FILENO/STDERR_FILENO
as oldfd and the freshly opened /dev/null descriptor as newfd, so it
overwrites the /dev/null fd with stdout/stderr and then closes it.
stdout and stderr are never redirected and stay attached to the
controlling terminal.

Swap the arguments so /dev/null is duplicated onto STDOUT_FILENO and
STDERR_FILENO as intended.
</pre>
</div>
</content>
</entry>
<entry>
<title>build: bump version to 1.8.5</title>
<updated>2026-03-09T17:00:43+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2026-03-09T17:00:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=1a4c472c11ee0354e5a689e33fad4ecce533ddc3'/>
<id>1a4c472c11ee0354e5a689e33fad4ecce533ddc3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Always set wl_buffer scale</title>
<updated>2026-02-14T17:16:11+00:00</updated>
<author>
<name>Manuel Stoeckl</name>
<email>code@mstoeckl.com</email>
</author>
<published>2026-02-14T01:09:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=473ebba206e4511f7300f9e32362cfff0eb7d908'/>
<id>473ebba206e4511f7300f9e32362cfff0eb7d908</id>
<content type='text'>
This correctly handles the case in which the output scale and session
lock surface size change but the wl_buffer size to submit for the
output remains the same. The buffer scale still needs updating, even
though the wl_buffer contents have not changed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This correctly handles the case in which the output scale and session
lock surface size change but the wl_buffer size to submit for the
output remains the same. The buffer scale still needs updating, even
though the wl_buffer contents have not changed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add short example of config file to man page</title>
<updated>2026-02-14T10:20:02+00:00</updated>
<author>
<name>Manuel Stoeckl</name>
<email>code@mstoeckl.com</email>
</author>
<published>2026-01-17T17:11:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=37f17319b4bec58cbbc4db15f6e92161f54650e7'/>
<id>37f17319b4bec58cbbc4db15f6e92161f54650e7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>seat: don't abort on wl_keyboard.keymap_format.no_keymap</title>
<updated>2026-02-09T14:11:39+00:00</updated>
<author>
<name>Kirill Primak</name>
<email>vyivel@eclair.cafe</email>
</author>
<published>2026-02-09T13:22:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=1c12f14e4391181f2731ca50317d64cfc7480e6e'/>
<id>1c12f14e4391181f2731ca50317d64cfc7480e6e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
