mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-08-06 04:04:13 +00:00
fix segfault on xwayland "appid"
This commit is contained in:
@@ -287,6 +287,8 @@ applyrules(Client *c)
|
|||||||
if (!(title = c->xdg_surface->toplevel->title))
|
if (!(title = c->xdg_surface->toplevel->title))
|
||||||
title = broken;
|
title = broken;
|
||||||
} else {
|
} else {
|
||||||
|
if (!(appid = c->xwayland_surface->class))
|
||||||
|
appid = broken;
|
||||||
if (!(title = c->xwayland_surface->title))
|
if (!(title = c->xwayland_surface->title))
|
||||||
title = broken;
|
title = broken;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user