commit 5b464edf91b748a19cba2aa2c472f2d939f15220
parent 95515682526dc786a9c2a668274a85be46b44d03
Author: Alexander Courtis <alex@courtis.org>
Date: Sun, 9 Aug 2020 11:56:34 +1000
#31 independents retain focus while mouse is over them
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dwl.c b/dwl.c
@@ -1783,7 +1783,9 @@ xytoindependent(double x, double y)
{
/* Find the topmost visible independent at point (x, y).
* For independents, the most recently created can be used as the "top".
- * AMC TODO: factor monitor or owning client visibility in. */
+ * We rely on the X11 convention of unmapping unmanaged when the "owning"
+ * client loses focus, which ensures that unmanaged are only visible on
+ * the current tag. */
Client *c;
struct wlr_box geom;
wl_list_for_each_reverse(c, &independents, link) {