blob: 68d8cf1670a32cc21623959fdc26797413d0f938 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
|