mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-02-04 04:06:21 -05:00
opt: not apply sloppyfocus if the surface is current pointer-focus surface
This commit is contained in:
parent
06a4acd992
commit
bc1f310e1c
1 changed files with 1 additions and 2 deletions
|
|
@ -4177,8 +4177,7 @@ void pointerfocus(Client *c, struct wlr_surface *surface, double sx, double sy,
|
|||
|
||||
if (sloppyfocus && c && time && c->scene->node.enabled &&
|
||||
!c->animation.tagining &&
|
||||
(surface != seat->pointer_state.focused_surface ||
|
||||
(selmon && selmon->sel && c != selmon->sel)) &&
|
||||
(surface != seat->pointer_state.focused_surface) &&
|
||||
!client_is_unmanaged(c) && VISIBLEON(c, c->mon))
|
||||
focusclient(c, 0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue