diff options
author | Devin J. Pohly <djpohly@gmail.com> | 2020-07-21 18:43:26 -0400 |
---|---|---|
committer | Devin J. Pohly <djpohly@gmail.com> | 2020-07-21 18:43:26 -0400 |
commit | a21c9378ee7c9b1c4165a2df742a639b7393a322 (patch) | |
tree | f5d5752f309a221952bba6329ac3c6b258b252ee | |
parent | 57fef50310cf5c62cd39827e12c3b3baea95bf78 (diff) |
fix segfault on xwayland "appid"
-rw-r--r-- | dwl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -287,6 +287,8 @@ applyrules(Client *c) if (!(title = c->xdg_surface->toplevel->title)) title = broken; } else { + if (!(appid = c->xwayland_surface->class)) + appid = broken; if (!(title = c->xwayland_surface->title)) title = broken; } |