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