mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-31 22:25:29 -04:00
opt: focustop need judge surface want focus
This commit is contained in:
parent
3db1bac8f9
commit
335a8fa2b1
1 changed files with 1 additions and 1 deletions
|
|
@ -3877,7 +3877,7 @@ Client * // 0.5
|
|||
focustop(Monitor *m) {
|
||||
Client *c;
|
||||
wl_list_for_each(c, &fstack, flink) {
|
||||
if (c->iskilling)
|
||||
if (c->iskilling || !client_surface_wants_focus(c))
|
||||
continue;
|
||||
if (VISIBLEON(c, m))
|
||||
return c;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue