diff options
| author | Devin J. Pohly <djpohly@gmail.com> | 2020-04-23 19:56:12 -0500 | 
|---|---|---|
| committer | Devin J. Pohly <djpohly@gmail.com> | 2020-04-23 22:11:52 -0500 | 
| commit | 35557ab0426ba326e7bba8f1aeac1ac5495bf079 (patch) | |
| tree | 3a4f96ef817cd7d3a97ad854b9032d2d91107611 | |
| parent | 387dff81b3224edbaa3ae741953bd4ab1f39a1b4 (diff) | |
don't detect non-visible clients under cursor
Diffstat (limited to '')
| -rw-r--r-- | dwl.c | 3 | 
1 files changed, 3 insertions, 0 deletions
| @@ -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 | 
