mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-09 05:34:17 -04:00
fix: The x11 window that should not be focused on miss judge
This commit is contained in:
parent
20dddcec2b
commit
aec027f7fa
2 changed files with 33 additions and 0 deletions
|
|
@ -3707,6 +3707,10 @@ void focusclient(Client *c, int lift) {
|
|||
if (c && c->animation.tagouting && !c->animation.tagouting)
|
||||
return;
|
||||
|
||||
if(c && client_is_x11(c) && !client_surface_wants_focus(c)) {
|
||||
return;
|
||||
}
|
||||
|
||||
/* Raise client in stacking order if requested */
|
||||
if (c && lift)
|
||||
wlr_scene_node_raise_to_top(&c->scene->node); // 将视图提升到顶层
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue