mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-02 09:01:43 -05:00
opt: disable clip to hide if it is a visible floating window when change monitor
This commit is contained in:
parent
6b2ef05dcf
commit
ee44bc148f
1 changed files with 1 additions and 2 deletions
|
|
@ -1093,8 +1093,7 @@ void client_change_mon(Client *c, Monitor *m) {
|
||||||
c->oldgeom = c->geom = setclient_coordinate_center(c, c->geom, 0, 0);
|
c->oldgeom = c->geom = setclient_coordinate_center(c, c->geom, 0, 0);
|
||||||
}
|
}
|
||||||
if (VISIBLEON(c, m) && c->isfloating) {
|
if (VISIBLEON(c, m) && c->isfloating) {
|
||||||
wlr_scene_node_set_enabled(&c->scene->node, true);
|
c->is_clip_to_hide = false;
|
||||||
client_set_suspended(c, false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue