<feed xmlns='http://www.w3.org/2005/Atom'>
<title>seatd.git/libseat, branch master</title>
<subtitle>fork of seatd
</subtitle>
<id>https://git.vlhl.dev/navi/seatd.git/atom?h=master</id>
<link rel='self' href='https://git.vlhl.dev/navi/seatd.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/seatd.git/'/>
<updated>2023-04-03T16:21:56+00:00</updated>
<entry>
<title>noop: Additional open flags for `open(2)`</title>
<updated>2023-04-03T16:21:56+00:00</updated>
<author>
<name>Anna (navi) Figueiredo Gomes</name>
<email>navi@vlhl.dev</email>
</author>
<published>2023-03-29T22:54:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/seatd.git/commit/?id=dc9375136720feda0efbdc2f16948d5f6472dbb8'/>
<id>urn:sha1:dc9375136720feda0efbdc2f16948d5f6472dbb8</id>
<content type='text'>
Matching the functionallity by the seatd open call. O_NONBLOCK is
specially important for libseat, otherwise it hangs while trying to
drain all events from an input device fd.

Signed-off-by: Anna (navi) Figueiredo Gomes &lt;navi@vlhl.dev&gt;
</content>
</entry>
<entry>
<title>noop: Return seat0 as the seat name</title>
<updated>2023-04-03T16:21:56+00:00</updated>
<author>
<name>Anna (navi) Figueiredo Gomes</name>
<email>navi@vlhl.dev</email>
</author>
<published>2023-03-29T19:41:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/seatd.git/commit/?id=58d5133683ef9d7c32c607ab2fb0b5acffba1feb'/>
<id>urn:sha1:58d5133683ef9d7c32c607ab2fb0b5acffba1feb</id>
<content type='text'>
wlroots' libinput backend expects the name of the seat to either match
ID_SEAT from udev, or in case ID_SEAT returns nothing, match seat0. As
noop has no seat switching, always returning seat0 as the session name
fixes that.

Signed-off-by: Anna (navi) Figueiredo Gomes &lt;navi@vlhl.dev&gt;
</content>
</entry>
<entry>
<title>noop: initialize initial_setup</title>
<updated>2023-01-16T12:13:52+00:00</updated>
<author>
<name>Chia-I Wu</name>
<email>olvaffe@gmail.com</email>
</author>
<published>2023-01-13T19:03:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/seatd.git/commit/?id=9b8b6e0bf88f02b77835c977ca97017ac6ed850f'/>
<id>urn:sha1:9b8b6e0bf88f02b77835c977ca97017ac6ed850f</id>
<content type='text'>
Otherwise the enable_seat callback is never called.
</content>
</entry>
<entry>
<title>drm: Make dev_is_drm local to logind backend</title>
<updated>2022-03-29T08:54:27+00:00</updated>
<author>
<name>Kenny Levinsen</name>
<email>kl@kl.wtf</email>
</author>
<published>2022-03-29T08:46:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/seatd.git/commit/?id=8f8c9558e6279060f3ccc3363cb3558ffc9efd84'/>
<id>urn:sha1:8f8c9558e6279060f3ccc3363cb3558ffc9efd84</id>
<content type='text'>
This function is only used for logind, which is Linux-specific, but the
presence in common/drm.c suggested that it had to be portable.

Move it to the logind backend for now.
</content>
</entry>
<entry>
<title>builtin: Remove deathsig and log start/stop</title>
<updated>2022-03-03T16:52:21+00:00</updated>
<author>
<name>Kenny Levinsen</name>
<email>kl@kl.wtf</email>
</author>
<published>2022-03-03T13:44:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/seatd.git/commit/?id=8dc6a50d88dcabda3f35135eacf075d5f4a18281'/>
<id>urn:sha1:8dc6a50d88dcabda3f35135eacf075d5f4a18281</id>
<content type='text'>
Proper handling of client disconnect mean that we no longer need
deathsig handling.
</content>
</entry>
<entry>
<title>builtin: Close other end of socketpair after fork</title>
<updated>2022-03-03T13:44:49+00:00</updated>
<author>
<name>Kenny Levinsen</name>
<email>kl@kl.wtf</email>
</author>
<published>2022-03-03T13:41:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/seatd.git/commit/?id=46c83972fe66b917032a832bb8e3309ac6783d7d'/>
<id>urn:sha1:46c83972fe66b917032a832bb8e3309ac6783d7d</id>
<content type='text'>
We will not get a socket hangup if we have duplicates socket fds in the
parent or child, so make sure we clean this up properly after fork.
</content>
</entry>
<entry>
<title>logind: Always send ping if data is queued</title>
<updated>2022-02-15T12:51:49+00:00</updated>
<author>
<name>Kenny Levinsen</name>
<email>kl@kl.wtf</email>
</author>
<published>2022-02-15T12:24:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/seatd.git/commit/?id=f128359332ac33d5ef0c2e91830059fb1c1ef923'/>
<id>urn:sha1:f128359332ac33d5ef0c2e91830059fb1c1ef923</id>
<content type='text'>
sd_bus_call_method may have read and queued our ping response, so we
cannot assume that a previous ping will make the socket readable.

Instead, always send a ping if read or write queues are not empty, even
if a ping has already been sent.
</content>
</entry>
<entry>
<title>libseat: Use SOCK_CLOEXEC and SOCK_NONBLOCK</title>
<updated>2022-02-09T22:22:29+00:00</updated>
<author>
<name>Kenny Levinsen</name>
<email>kl@kl.wtf</email>
</author>
<published>2022-02-09T22:21:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/seatd.git/commit/?id=b47c79d73123052b20bc853b544c10274ab29fa6'/>
<id>urn:sha1:b47c79d73123052b20bc853b544c10274ab29fa6</id>
<content type='text'>
This both simplifies our code and fixes an exec fd leak when using
builtin or noop backends.
</content>
</entry>
<entry>
<title>build: use list for logind dep</title>
<updated>2021-11-28T14:40:56+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2021-11-26T21:17:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/seatd.git/commit/?id=d92fa01f884e94262e4c7184be62efaf8a00a634'/>
<id>urn:sha1:d92fa01f884e94262e4c7184be62efaf8a00a634</id>
<content type='text'>
This reduces the boilerplate a bit. Use logind.name() instead of
having a separate source of truth. Requires adapting the checks a
bit because the dep name has a "lib" prefix.
</content>
</entry>
<entry>
<title>logind: Set userdata for ping_handler</title>
<updated>2021-10-05T08:05:25+00:00</updated>
<author>
<name>Kenny Levinsen</name>
<email>kl@kl.wtf</email>
</author>
<published>2021-10-05T08:05:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/seatd.git/commit/?id=e35c9cd02e95ec8a76bb4bb82f801a795e135bc9'/>
<id>urn:sha1:e35c9cd02e95ec8a76bb4bb82f801a795e135bc9</id>
<content type='text'>
</content>
</entry>
</feed>
