deps: update zig-wlroots to fix Xwayland crash
This commit is contained in:
parent
4a9d84bdb8
commit
8d9b6ab99e
2
deps/zig-wlroots
vendored
2
deps/zig-wlroots
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 74cde5ede96d90d994ebfda5ef03dffe7d21ffe3
|
Subproject commit f804c6d2ab1a240f7659c82325dc21ddcc6392b7
|
@ -39,7 +39,7 @@ request_configure: wl.Listener(*wlr.XwaylandSurface.event.Configure) =
|
|||||||
destroy: wl.Listener(*wlr.XwaylandSurface) = wl.Listener(*wlr.XwaylandSurface).init(handleDestroy),
|
destroy: wl.Listener(*wlr.XwaylandSurface) = wl.Listener(*wlr.XwaylandSurface).init(handleDestroy),
|
||||||
map: wl.Listener(*wlr.XwaylandSurface) = wl.Listener(*wlr.XwaylandSurface).init(handleMap),
|
map: wl.Listener(*wlr.XwaylandSurface) = wl.Listener(*wlr.XwaylandSurface).init(handleMap),
|
||||||
unmap: wl.Listener(*wlr.XwaylandSurface) = wl.Listener(*wlr.XwaylandSurface).init(handleUnmap),
|
unmap: wl.Listener(*wlr.XwaylandSurface) = wl.Listener(*wlr.XwaylandSurface).init(handleUnmap),
|
||||||
set_geometry: wl.Listener(*wlr.XwaylandSurface) = wl.Listener(*wlr.XwaylandSurface).init(handleSetGeometry),
|
set_geometry: wl.Listener(void) = wl.Listener(void).init(handleSetGeometry),
|
||||||
set_override_redirect: wl.Listener(*wlr.XwaylandSurface) =
|
set_override_redirect: wl.Listener(*wlr.XwaylandSurface) =
|
||||||
wl.Listener(*wlr.XwaylandSurface).init(handleSetOverrideRedirect),
|
wl.Listener(*wlr.XwaylandSurface).init(handleSetOverrideRedirect),
|
||||||
|
|
||||||
@ -149,7 +149,7 @@ fn handleUnmap(listener: *wl.Listener(*wlr.XwaylandSurface), _: *wlr.XwaylandSur
|
|||||||
server.root.applyPending();
|
server.root.applyPending();
|
||||||
}
|
}
|
||||||
|
|
||||||
fn handleSetGeometry(listener: *wl.Listener(*wlr.XwaylandSurface), _: *wlr.XwaylandSurface) void {
|
fn handleSetGeometry(listener: *wl.Listener(void)) void {
|
||||||
const self = @fieldParentPtr(Self, "set_geometry", listener);
|
const self = @fieldParentPtr(Self, "set_geometry", listener);
|
||||||
|
|
||||||
self.surface_tree.?.node.setPosition(self.xwayland_surface.x, self.xwayland_surface.y);
|
self.surface_tree.?.node.setPosition(self.xwayland_surface.x, self.xwayland_surface.y);
|
||||||
|
Loading…
Reference in New Issue
Block a user