mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-27 03:36:31 +00:00
#31 independents retain focus while mouse is over them
This commit is contained in:
parent
9551568252
commit
5b464edf91
1 changed files with 3 additions and 1 deletions
4
dwl.c
4
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) {
|
||||
|
|
Loading…
Reference in a new issue