FreeBSD Bugzilla – Attachment 235172 Details for
Bug 265110
x11-wm/hikari: crashes when opening Gtk4 apps
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
x11-wm/hikari diff
hikari.diff (text/plain), 1.38 KB, created by
Ashish SHUKLA
on 2022-07-10 14:08:34 UTC
(
hide
)
Description:
x11-wm/hikari diff
Filename:
MIME Type:
Creator:
Ashish SHUKLA
Created:
2022-07-10 14:08:34 UTC
Size:
1.38 KB
patch
obsolete
>From d66baca211f36655bf6c5d44f3959bd676fcaf64 Mon Sep 17 00:00:00 2001 >From: Ashish SHUKLA <ashish@FreeBSD.org> >Date: Sun, 10 Jul 2022 13:53:29 +0000 >Subject: [PATCH] x11-wm/hikari: Patch to prevent crashing with GTK4 apps > >PR: 265110 >--- > x11-wm/hikari/Makefile | 1 + > x11-wm/hikari/files/patch-src_server.c | 12 ++++++++++++ > 2 files changed, 13 insertions(+) > create mode 100644 x11-wm/hikari/files/patch-src_server.c > >diff --git a/x11-wm/hikari/Makefile b/x11-wm/hikari/Makefile >index 78980a5..a010359 100644 >--- a/x11-wm/hikari/Makefile >+++ b/x11-wm/hikari/Makefile >@@ -1,5 +1,6 @@ > PORTNAME= hikari > DISTVERSION= 2.3.3 >+PORTREVISION= 1 > CATEGORIES= x11-wm wayland > MASTER_SITES= https://hikari.acmelabs.space/releases/ > >diff --git a/x11-wm/hikari/files/patch-src_server.c b/x11-wm/hikari/files/patch-src_server.c >new file mode 100644 >index 0000000..ee05cc2 >--- /dev/null >+++ b/x11-wm/hikari/files/patch-src_server.c >@@ -0,0 +1,12 @@ >+--- src/server.c.orig 2022-01-13 09:15:55 UTC >++++ src/server.c >+@@ -523,6 +523,9 @@ static void >+ server_decoration_handler(struct wl_listener *listener, void *data) >+ { >+ struct wlr_server_decoration *wlr_decoration = data; >++ if (wlr_decoration->surface->role == NULL) { >++ return; >++ } >+ struct hikari_view *view = >+ wl_container_of(wlr_decoration->surface, view, surface); >+ struct wlr_xdg_surface *xdg_surface = >-- >2.37.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 265110
:
235146
| 235172