summaryrefslogtreecommitdiff
path: root/pkgs/patches/hikari-gtk4.patch
diff options
context:
space:
mode:
authorstuebinm2024-03-05 03:05:17 +0100
committerstuebinm2024-03-05 03:05:17 +0100
commitc11127995defe25c8b4164389750672a25e61fc0 (patch)
tree7b68c10dfd88fb401448d6bbfab3288df7b5afc1 /pkgs/patches/hikari-gtk4.patch
parent911e1fd4986c0556321457a5606f0e747ef556c6 (diff)
restructure & general cleanup
- pkgs/ should now also contain all package overrides - pkgs/patches/ now contains all patches - nix flake info succeeds again - still not sure what to do about scripts - services which are not used should not be kept around this long
Diffstat (limited to 'pkgs/patches/hikari-gtk4.patch')
-rw-r--r--pkgs/patches/hikari-gtk4.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/patches/hikari-gtk4.patch b/pkgs/patches/hikari-gtk4.patch
new file mode 100644
index 0000000..68d8cf1
--- /dev/null
+++ b/pkgs/patches/hikari-gtk4.patch
@@ -0,0 +1,17 @@
+diff -rN -u old-hikari/src/server.c new-hikari/src/server.c
+--- old-hikari/src/server.c 2023-02-16 13:15:24.797244377 +0100
++++ new-hikari/src/server.c 2023-02-16 13:15:24.797244377 +0100
+@@ -523,6 +523,9 @@
+ 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 =
+patch bc1727d6444f21c0fb952e8c853d5110b5602403
+Author: alex@xanderio.de
+Date: Fri Dec 17 20:14:29 CET 2021
+ * prevent gtk4 application from crashing hikari \ No newline at end of file