Github messages for voidlinux
 help / color / mirror / Atom feed
From: yoshiyoshyosh <yoshiyoshyosh@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] hikari: add xwayland restacking patch
Date: Wed, 11 Oct 2023 20:28:35 +0200	[thread overview]
Message-ID: <20231011182835.SZtVzK9OzowUxFTmXhaSofKLwQd9liMoTkXVBQO5ih8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46397@inbox.vuxu.org>

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

There is an updated 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: 2010 bytes --]

From b087c523a0e5372cb9a8aefe2e0c0346dc78ffd6 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, 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 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..5ccc9a293fddd 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 <ajh@sideband.org>"
+maintainer="yosh <yosh-git@riseup.net>"
 license="BSD-2-Clause"
 homepage="https://hikari.acmelabs.space"
 changelog="https://hub.darcs.net/raichoo/hikari/browse/CHANGELOG.md"

  parent reply	other threads:[~2023-10-11 18:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-03  4:29 [PR 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 ` yoshiyoshyosh [this message]
2023-10-11 18:31 ` [PR PATCH] [Merged]: hikari: add xwayland restacking patch, adopt ahesford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231011182835.SZtVzK9OzowUxFTmXhaSofKLwQd9liMoTkXVBQO5ih8@z \
    --to=yoshiyoshyosh@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).