fix segfault on xwayland "appid"

このコミットが含まれているのは:
Devin J. Pohly 2020-07-21 18:43:26 -04:00
コミット a21c9378ee
1個のファイルの変更2行の追加0行の削除

2
dwl.c
ファイルの表示

@ -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;
}