Skip to content

Commit

Permalink
bugfix: set keep-above to new floating windows
Browse files Browse the repository at this point in the history
  • Loading branch information
esjeon committed Feb 7, 2020
1 parent 084e559 commit 88a8f95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class Window {
if (state === value)
return;

if (Window.isTileableState(state) && Window.isFloatingState(value))
if ((state === WindowState.Unmanaged || Window.isTileableState(state)) && Window.isFloatingState(value))
this.shouldCommitFloat = true;
else if (Window.isFloatingState(state) && Window.isTileableState(value))
this.floatGeometry = this.actualGeometry;
Expand Down

0 comments on commit 88a8f95

Please sign in to comment.