~ruther/dwl

a21c9378ee7c9b1c4165a2df742a639b7393a322 — Devin J. Pohly 4 years ago 57fef50
fix segfault on xwayland "appid"
1 files changed, 2 insertions(+), 0 deletions(-)

M dwl.c
M dwl.c => dwl.c +2 -0
@@ 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;
	}

Do not follow this link