Desktop GPU: patched wlroots with a Vulkan DMA-BUF allocator; new windows take the keys

wlroots 0.20.2 (Arch's wlroots0.20, what the desktop's labwc links) gains an
allocator that exports Vulkan images as DMA-BUFs for a GPU node that is not a
DRM device - the Adreno KGSL stand-in - where gbm and the DRM lease path fail
('unable to create allocator'). linux-dmabuf skips its GEM import check on such
a node so client buffers are not all refused. Built by build-wlroots.yml.

Compositor: without a Wine desktop, a window that opens on top takes keyboard
focus (a gamescope started from the Linux desktop).
This commit is contained in:
The412Banner committed 2026-09-23 20:59:57 -04:00
1 parent 59123f1c89
commit 7dc00d9b23
4 files changed
+657

No files matched your search

@@ -589,6 +589,10 @@ static void map_toplevel(struct surface *s) {
s->placed ? "" : " (no desktop position yet)");
}
wl_list_insert(g_toplevels.prev, &s->toplevel_link); /* new windows start on top */
/* Without a Wine desktop the clients are whole programs (the Linux desktop, a gamescope a
* program on it started over it): a window that opens on top takes the keys too, as it would
* on any desktop, rather than the one clicked last that is now underneath it. */
if (!g_desktop) g_key_target = s;
apply_zorder();
}