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

* Re: hikari: add xwayland restacking patch
  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
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: paper42 @ 2023-10-10 16:56 UTC (permalink / raw)
  To: ml

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

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/46397#issuecomment-1755867650

Comment:
@ahesford you seem to be listed as the hikari maintainer

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

* Re: hikari: add xwayland restacking patch
  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
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ahesford @ 2023-10-11 12:11 UTC (permalink / raw)
  To: ml

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

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/46397#issuecomment-1757555554

Comment:
The patch is fine, but I haven't used hikari in a long time. @yoshiyoshyosh do you want to adopt this?

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

* Re: hikari: add xwayland restacking patch
  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
  4 siblings, 0 replies; 6+ messages in thread
From: yoshiyoshyosh @ 2023-10-11 18:23 UTC (permalink / raw)
  To: ml

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

New comment by yoshiyoshyosh on void-packages repository

https://github.com/void-linux/void-packages/pull/46397#issuecomment-1758257133

Comment:
sounds fine to me since I see myself using hikari for the foreseeable future. 

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

* Re: [PR PATCH] [Updated] hikari: add xwayland restacking patch
  2023-10-03  4:29 [PR PATCH] hikari: add xwayland restacking patch yoshiyoshyosh
                   ` (2 preceding siblings ...)
  2023-10-11 18:23 ` yoshiyoshyosh
@ 2023-10-11 18:28 ` yoshiyoshyosh
  2023-10-11 18:31 ` [PR PATCH] [Merged]: hikari: add xwayland restacking patch, adopt ahesford
  4 siblings, 0 replies; 6+ messages in thread
From: yoshiyoshyosh @ 2023-10-11 18:28 UTC (permalink / raw)
  To: ml

[-- 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"

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

* Re: [PR PATCH] [Merged]: hikari: add xwayland restacking patch, adopt
  2023-10-03  4:29 [PR PATCH] hikari: add xwayland restacking patch yoshiyoshyosh
                   ` (3 preceding siblings ...)
  2023-10-11 18:28 ` [PR PATCH] [Updated] " yoshiyoshyosh
@ 2023-10-11 18:31 ` ahesford
  4 siblings, 0 replies; 6+ messages in thread
From: ahesford @ 2023-10-11 18:31 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

hikari: add xwayland restacking patch, adopt
https://github.com/void-linux/void-packages/pull/46397

Description:
- 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)

^ 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).