<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wlroots.git/backend/session, branch master</title>
<subtitle>fork of wlroots with action binder support
</subtitle>
<id>https://git.vlhl.dev/navi/wayland/wlroots.git/atom?h=master</id>
<link rel='self' href='https://git.vlhl.dev/navi/wayland/wlroots.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/'/>
<updated>2024-02-15T14:41:12+00:00</updated>
<entry>
<title>Define _POSIX_C_SOURCE globally</title>
<updated>2024-02-15T14:41:12+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2024-02-15T14:34:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=842093bb843ae6c719c2b1cf32eb749cab9e46ca'/>
<id>urn:sha1:842093bb843ae6c719c2b1cf32eb749cab9e46ca</id>
<content type='text'>
Stop trying to maintain a per-file _POSIX_C_SOURCE. Instead,
require POSIX.1-2008 globally. A lot of core source files depend
on that already.

Some care must be taken on a few select files where we need a bit
more than POSIX. Some files need XSI extensions (_XOPEN_SOURCE) and
some files need BSD extensions (_DEFAULT_SOURCE). In both cases,
these feature test macros imply _POSIX_C_SOURCE. Make sure to not
define both these macros and _POSIX_C_SOURCE explicitly to avoid
POSIX requirement conflicts (e.g. _POSIX_C_SOURCE says POSIX.1-2001
but _XOPEN_SOURCE says POSIX.1-2008).

Additionally, there is one special case in render/vulkan/vulkan.c.
That file needs major()/minor(), and these are system-specific.
On FreeBSD, _POSIX_C_SOURCE hides system-specific symbols so we need
to make sure it's not defined for this file. On Linux, we can
explicitly include &lt;sys/sysmacros.h&gt; and ensure that apart from
symbols defined there the file only uses POSIX toys.
</content>
</entry>
<entry>
<title>backend/session: add docs</title>
<updated>2024-02-01T15:08:47+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2024-01-31T18:01:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=967e788bc841bae395b115cd95a349dd6b158f10'/>
<id>urn:sha1:967e788bc841bae395b115cd95a349dd6b158f10</id>
<content type='text'>
</content>
</entry>
<entry>
<title>backend/session: take wl_event_loop instead of wl_display</title>
<updated>2023-11-23T11:15:07+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2023-08-11T17:28:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=63792b38e46ae1741a6492d3c0183cb9566e4c9f'/>
<id>urn:sha1:63792b38e46ae1741a6492d3c0183cb9566e4c9f</id>
<content type='text'>
wl_display holds a lot more than wlr_session needs: wlr_session
only needs to wait for a FD to become readable, but wl_display
provides full access to the Wayland client and protocol objects.

Switch to wl_event_loop to better reflect the above.
</content>
</entry>
<entry>
<title>backend/session: make optional</title>
<updated>2022-11-25T16:15:29+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2022-11-23T15:04:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=f0375eed24276e27e036f724c9fde5d344fc140a'/>
<id>urn:sha1:f0375eed24276e27e036f724c9fde5d344fc140a</id>
<content type='text'>
Some compositors are not interested in wlr_session, for instance
nested compositors.

Disabling wlr_session removes the udev dependency.
</content>
</entry>
<entry>
<title>backend: use time helpers to implement timeouts</title>
<updated>2022-11-25T16:15:29+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2022-11-23T15:01:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=21254737bf97e5be44071063c14fce5a403a9a22'/>
<id>urn:sha1:21254737bf97e5be44071063c14fce5a403a9a22</id>
<content type='text'>
Instead of hand-rolling get_current_time_msec(), let's just re-use
the helper we already have in "util/time.h".
</content>
</entry>
<entry>
<title>backend/session: disable libseat examples for subproject by default</title>
<updated>2022-11-25T16:15:29+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2022-11-23T14:10:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=f839d6896f100aedf49390abc499413d5f1c1d95'/>
<id>urn:sha1:f839d6896f100aedf49390abc499413d5f1c1d95</id>
<content type='text'>
We have no use for these.
</content>
</entry>
<entry>
<title>Use wl_signal_emit_mutable</title>
<updated>2022-08-18T11:16:16+00:00</updated>
<author>
<name>Alexander Orzechowski</name>
<email>orzechowski.alexander@gmail.com</email>
</author>
<published>2022-08-18T11:16:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=ef4baea0e2f799c7bdd2e077dac4174fa31e85df'/>
<id>urn:sha1:ef4baea0e2f799c7bdd2e077dac4174fa31e85df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>build: simplify Meson subproject fallbacks</title>
<updated>2021-12-19T18:12:16+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2021-12-14T11:10:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=b5a019d5754064788471e9eba4ee9354c7cc4cd5'/>
<id>urn:sha1:b5a019d5754064788471e9eba4ee9354c7cc4cd5</id>
<content type='text'>
All of these projects use meson.override_dependency() so we can
stop referencing their internal variable name to grab the
depndencies we need.
</content>
</entry>
<entry>
<title>backend/drm: add wlr_drm_backend_monitor</title>
<updated>2021-12-13T13:55:16+00:00</updated>
<author>
<name>Chris Chamberlain</name>
<email>chris@chamberlain.id.au</email>
</author>
<published>2021-12-10T20:14:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=d8ca4945581577f570c02ad46878571c48a08c79'/>
<id>urn:sha1:d8ca4945581577f570c02ad46878571c48a08c79</id>
<content type='text'>
This helper is responsible for listening for new DRM devices and
create new child DRM backends as necessary.
</content>
</entry>
<entry>
<title>Introduce WLR_DEVICE_LEASE events</title>
<updated>2021-11-19T16:06:07+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2021-11-03T12:37:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=a37f538ca0cc6d504358eb797150751b60c4511b'/>
<id>urn:sha1:a37f538ca0cc6d504358eb797150751b60c4511b</id>
<content type='text'>
This will allow the DRM backend to reload its lessee list.
</content>
</entry>
</feed>
