~ruther/dwl

caac2d664db998beddeeececd7253a11a665c162 — Leonardo Hernández Hernández 1 year, 6 months ago b174005
explicitly return -1 in the first check in toplevel_from_wlr_surface
1 files changed, 1 insertions(+), 1 deletions(-)

M client.h
M client.h => client.h +1 -1
@@ 39,7 39,7 @@ toplevel_from_wlr_surface(struct wlr_surface *s, Client **pc, LayerSurface **pl)
#endif

	if (!s)
		return type;
		return -1;
	root_surface = wlr_surface_get_root_surface(s);

#ifdef XWAYLAND

Do not follow this link