<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wlroots.git/backend/multi, 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/multi: take wl_event_loop instead of wl_display</title>
<updated>2024-01-25T15:05:36+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2023-11-23T13:11:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=f27808b8d98d5b9907a347cd9f01bb7bef3218b9'/>
<id>urn:sha1:f27808b8d98d5b9907a347cd9f01bb7bef3218b9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>backend/multi: emit destroy signal before destroying child backends</title>
<updated>2024-01-25T11:12:13+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2024-01-25T10:21:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=a82fc4cb8fed4fd6f02684320dfed68760c6b15d'/>
<id>urn:sha1:a82fc4cb8fed4fd6f02684320dfed68760c6b15d</id>
<content type='text'>
Some users might want to destroy the multi backend when a child
backend is being destroyed. However, they can't destroy the multi
backend if it's already in the process of being destroyed.

The destroy signal was changed to be emitted after destroying child
backends in babdd6ccf757 ("backend: fix use-after-free when destroying
backends"). However, this was done to accomodate for an old
"output_remove" event on backends, which has long been dropped in
favor of wlr_output.events.destroy.

This patch follows the same principle as 5d639394f3e8
("types/output: emit destroy event before destroying global").
</content>
</entry>
<entry>
<title>backend: drop wlr_backend_get_presentation_clock()</title>
<updated>2023-10-30T17:39:39+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2023-10-30T17:37:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=1c24b1182ba39cb8c508580713336dcf79e6a295'/>
<id>urn:sha1:1c24b1182ba39cb8c508580713336dcf79e6a295</id>
<content type='text'>
We can just assume CLOCK_MONOTONIC everywhere.

Simplifies the backend API, and fixes clock mismatches when multiple
backends are used together with different clocks.
</content>
</entry>
<entry>
<title>treewide: Migrate from sizeof(struct) to sizeof(*pointer) where practical</title>
<updated>2023-10-03T05:51:07+00:00</updated>
<author>
<name>Alexander Orzechowski</name>
<email>alex@ozal.ski</email>
</author>
<published>2023-10-03T05:51:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=1b0694b79481643cb456d03e1be50a1b4f6ca591'/>
<id>urn:sha1:1b0694b79481643cb456d03e1be50a1b4f6ca591</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use wl_container_of() instead of casts</title>
<updated>2023-07-11T18:16:17+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2023-07-11T15:54:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=fe06e5f49a12174ceeb5e307bf5c3d7f623177d5'/>
<id>urn:sha1:fe06e5f49a12174ceeb5e307bf5c3d7f623177d5</id>
<content type='text'>
This slightly improves type safety.

The culprits were found with:

    git grep -E '\([a-z0-9_ ]+ \*\)\W?[a-z]'
</content>
</entry>
<entry>
<title>backend: drop wlr_backend_get_session()</title>
<updated>2022-11-15T21:16:25+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2022-11-03T17:30:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=e7c556fcf61eb3121d741cd4da526b2619862678'/>
<id>urn:sha1:e7c556fcf61eb3121d741cd4da526b2619862678</id>
<content type='text'>
This no longer has purpose.
</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>backend/multi: add asserts in wlr_multi_backend_add</title>
<updated>2021-11-19T15:44:45+00:00</updated>
<author>
<name>Simon Zeni</name>
<email>simon@bl4ckb0ne.ca</email>
</author>
<published>2021-11-19T15:44:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=25bb92faeec27fa67340eb417d427ce721dc3218'/>
<id>urn:sha1:25bb92faeec27fa67340eb417d427ce721dc3218</id>
<content type='text'>
</content>
</entry>
<entry>
<title>backend/multi: remove backend_get_renderer</title>
<updated>2021-11-18T14:37:57+00:00</updated>
<author>
<name>Simon Zeni</name>
<email>simon@bl4ckb0ne.ca</email>
</author>
<published>2021-11-15T18:29:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=d1ebd52ab28a4758d1760e2f50181474e7f49e2f'/>
<id>urn:sha1:d1ebd52ab28a4758d1760e2f50181474e7f49e2f</id>
<content type='text'>
</content>
</entry>
</feed>
