mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-09 23:50:21 -04:00
Set foreign_toplevel of unfocused monitor windows to false
This commit is contained in:
parent
daff80fe73
commit
b7a55a15d7
1 changed files with 6 additions and 0 deletions
|
|
@ -3700,8 +3700,14 @@ void focusclient(Client *c, int32_t lift) {
|
|||
wl_list_for_each(um, &mons, link) {
|
||||
if (um->wlr_output->enabled && um != selmon && um->sel &&
|
||||
!um->sel->iskilling && um->sel->isfocusing) {
|
||||
|
||||
um->sel->isfocusing = false;
|
||||
client_set_unfocused_opacity_animation(um->sel);
|
||||
|
||||
if (um->sel->foreign_toplevel) {
|
||||
wlr_foreign_toplevel_handle_v1_set_activated(
|
||||
um->sel->foreign_toplevel, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue