mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-24 21:37:30 -04:00
opt: dont let window get pointer focus in overview
This commit is contained in:
parent
4ca7439575
commit
469249b39e
3 changed files with 15 additions and 2 deletions
|
|
@ -1000,7 +1000,9 @@ void client_animation_next_tick(Client *c) {
|
|||
|
||||
surface =
|
||||
pointer_c && pointer_c == c ? client_surface(pointer_c) : NULL;
|
||||
if (surface && pointer_c == selmon->sel) {
|
||||
|
||||
// avoid game window force grab pointer in overview mode
|
||||
if (surface && pointer_c == selmon->sel && !selmon->isoverview) {
|
||||
wlr_seat_pointer_notify_enter(seat, surface, sx, sy);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue