From b087c523a0e5372cb9a8aefe2e0c0346dc78ffd6 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, adopt --- srcpkgs/hikari/patches/restack_xwayland_windows.patch | 10 ++++++++++ srcpkgs/hikari/template | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) 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 00000000000000..91fc5f47faef9a --- /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 64811ea08b1436..5ccc9a293fdddc 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 @@ -11,7 +11,7 @@ make_install_args="ETC_PREFIX= WITHOUT_SUID=YES" hostmakedepends="bmake pkg-config wayland-devel" makedepends="wlroots0.15-devel pango-devel cairo-devel pam-devel glib-devel libucl-devel" short_desc="Stacking Wayland compositor with tiling features" -maintainer="Andrew J. Hesford " +maintainer="yosh " license="BSD-2-Clause" homepage="https://hikari.acmelabs.space" changelog="https://hub.darcs.net/raichoo/hikari/browse/CHANGELOG.md"