~ruther/dwl

35557ab0426ba326e7bba8f1aeac1ac5495bf079 — Devin J. Pohly 5 years ago 387dff8
don't detect non-visible clients under cursor
1 files changed, 3 insertions(+), 0 deletions(-)

M dwl.c
M dwl.c => dwl.c +3 -0
@@ 1148,6 1148,9 @@ xytoclient(double x, double y,
	 * cursor. This relies on clients being ordered from top-to-bottom. */
	Client *c;
	wl_list_for_each(c, &clients, link) {
		/* Skip clients that aren't visible */
		if (!VISIBLEON(c, c->mon))
			continue;
		/*
		 * XDG toplevels may have nested surfaces, such as popup windows
		 * for context menus or tooltips. This function tests if any of

Do not follow this link