mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-24 13:36:42 -04:00
opt: optimize layer cover when setfloating
This commit is contained in:
parent
5e9a28ec79
commit
38f2ecf30b
1 changed files with 4 additions and 0 deletions
|
|
@ -5683,6 +5683,10 @@ setfloating(Client *c, int32_t floating) {
|
|||
layers[c->isfloating ? LyrTop : LyrTile]);
|
||||
}
|
||||
|
||||
if (c->isfloating) {
|
||||
client_raise_group_tab_bar(c);
|
||||
}
|
||||
|
||||
if (!c->force_fakemaximize)
|
||||
client_set_maximized(c, false);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue