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
c08ea88c1f
commit
9d138ac95a
1 changed files with 1 additions and 1 deletions
2
dwl.c
2
dwl.c
|
@ -993,7 +993,7 @@ motionnotify(uint32_t time)
|
|||
cursor->y - c->surface.xwayland->y - c->bw, &sx, &sy);
|
||||
|
||||
/* Otherwise, find the client under the pointer and send the event along. */
|
||||
} else if (!c && (c = xytoclient(cursor->x, cursor->y))) {
|
||||
} else if ((c = xytoclient(cursor->x, cursor->y))) {
|
||||
if (c->type != XDGShell)
|
||||
surface = wlr_surface_surface_at(c->surface.xwayland->surface,
|
||||
cursor->x - c->geom.x - c->bw,
|
||||
|
|
Loading…
Reference in a new issue