Skip to content

Commit ed509bc

Browse files
mmstickjackpot51
authored andcommitted
fix: Avoid unmaximizing floating windows
1 parent 0358b15 commit ed509bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,7 @@ export class Ext extends Ecs.System<ExtEvent> {
10071007
for (const [_entity, compare] of this.windows.iter()) {
10081008
const is_same_space = compare.meta.get_monitor() === mon
10091009
&& compare.meta.get_workspace().index() === work;
1010-
if (is_same_space) {
1010+
if (is_same_space && !this.contains_tag(compare.entity, Tags.Floating)) {
10111011
if (compare.is_maximized()) {
10121012
compare.meta.unmaximize(Meta.MaximizeFlags.BOTH);
10131013
}

0 commit comments

Comments
 (0)