From 3c031881a4549cfe2a94e7757c9baa4a9dc7928a Mon Sep 17 00:00:00 2001 From: yosh Date: Tue, 3 Oct 2023 00:02:35 -0400 Subject: [PATCH] hikari: add xwayland restacking patch --- srcpkgs/hikari/patches/restack_xwayland_windows.patch | 10 ++++++++++ srcpkgs/hikari/template | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/hikari/patches/restack_xwayland_windows.patch diff --git a/srcpkgs/hikari/patches/restack_xwayland_windows.patch b/srcpkgs/hikari/patches/restack_xwayland_windows.patch new file mode 100644 index 0000000000000..91fc5f47faef9 --- /dev/null +++ b/srcpkgs/hikari/patches/restack_xwayland_windows.patch @@ -0,0 +1,10 @@ +--- a/src/xwayland_view.c 2023-10-02 23:25:53.794255011 -0400 ++++ b/src/xwayland_view.c 2023-10-02 23:26:17.173265450 -0400 +@@ -304,6 +304,7 @@ + struct wlr_xwayland_surface *xwayland_surface = xwayland_view->surface; + + wlr_xwayland_surface_activate(xwayland_surface, active); ++ wlr_xwayland_surface_restack(xwayland_surface, NULL, XCB_STACK_MODE_ABOVE); + wlr_xwayland_set_seat(hikari_server.xwayland, hikari_server.seat); + } + diff --git a/srcpkgs/hikari/template b/srcpkgs/hikari/template index 64811ea08b143..a0d92510cac30 100644 --- a/srcpkgs/hikari/template +++ b/srcpkgs/hikari/template @@ -1,7 +1,7 @@ # Template file for 'hikari' pkgname=hikari version=2.3.3 -revision=2 +revision=3 build_style=gnu-makefile make_cmd=bmake make_use_env=yes