|
Added
Link Here
|
| 0 |
- |
1 |
--- src/server.c.orig 2022-01-13 09:15:55 UTC |
|
|
2 |
+++ src/server.c |
| 3 |
@@ -523,6 +523,9 @@ static void |
| 4 |
server_decoration_handler(struct wl_listener *listener, void *data) |
| 5 |
{ |
| 6 |
struct wlr_server_decoration *wlr_decoration = data; |
| 7 |
+ if (wlr_decoration->surface->role == NULL) { |
| 8 |
+ return; |
| 9 |
+ } |
| 10 |
struct hikari_view *view = |
| 11 |
wl_container_of(wlr_decoration->surface, view, surface); |
| 12 |
struct wlr_xdg_surface *xdg_surface = |