mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-29 21:37:42 -04:00
opt: dont let window get pointer focus in overview
This commit is contained in:
parent
92ed29efa5
commit
f1f07525e5
3 changed files with 15 additions and 2 deletions
|
|
@ -888,7 +888,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