Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] hikari: add xwayland restacking patch
@ 2023-10-03  4:29 yoshiyoshyosh
  2023-10-10 16:56 ` paper42
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: yoshiyoshyosh @ 2023-10-03  4:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 980 bytes --]

There is a new pull request by yoshiyoshyosh against master on the void-packages repository

https://github.com/yoshiyoshyosh/void-packages hikari
https://github.com/void-linux/void-packages/pull/46397

hikari: add xwayland restacking patch
- I tested the changes in this PR: **YES**

#### Local Build Testing
- I built this PR locally for my native architecture, (`x86_64-glibc`)

hikari currently doesn't restack xwayland windows when a new one is focused, which can cause dialog boxes in xwayland applications to not accept mouse input. this patch comes from [a fork of hikari](https://hub.darcs.net/holycow/hikari/patch/de3817572a6c3ba5b51614fe31151d2c63fe1fd4), and it seems that unfortunately [the origin repo](https://hub.darcs.net/raichoo/hikari/changes) isn't quite updated anymore. [I've reported it there as well nonetheless](https://hub.darcs.net/raichoo/hikari/issue/48)

A patch file from https://github.com/void-linux/void-packages/pull/46397.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hikari-46397.patch --]
[-- Type: text/x-diff, Size: 1501 bytes --]

From 3c031881a4549cfe2a94e7757c9baa4a9dc7928a Mon Sep 17 00:00:00 2001
From: yosh <yosh-git@riseup.net>
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-10-11 18:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-03  4:29 [PR PATCH] hikari: add xwayland restacking patch yoshiyoshyosh
2023-10-10 16:56 ` paper42
2023-10-11 12:11 ` ahesford
2023-10-11 18:23 ` yoshiyoshyosh
2023-10-11 18:28 ` [PR PATCH] [Updated] " yoshiyoshyosh
2023-10-11 18:31 ` [PR PATCH] [Merged]: hikari: add xwayland restacking patch, adopt ahesford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).