Skip to content

Commit

Permalink
TilingWindowManager: Only ignore non-tiled always-on-top window
Browse files Browse the repository at this point in the history
  • Loading branch information
Leleat committed Apr 13, 2023
1 parent f0865be commit eb35bf2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ var TilingWindowManager = class TilingWindowManager {

// Ignore non-tiled windows, which are always-on-top, for the
// calculation since they are probably some utility apps etc.
if (window.is_above())
if (window.is_above() && !window.isTiled)
continue;

// Find the first not overlapped tile group, if it exists
Expand Down Expand Up @@ -1036,7 +1036,7 @@ var TilingWindowManager = class TilingWindowManager {
if (window.get_monitor() !== mon)
continue;

if (window.is_above())
if (window.is_above() && !window.isTiled)
continue;

if (window.isTiled) {
Expand Down Expand Up @@ -1105,7 +1105,7 @@ var TilingWindowManager = class TilingWindowManager {
if (window.get_monitor() !== mon)
continue;

if (window.is_above())
if (window.is_above() && !window.isTiled)
continue;

if (window.isTiled) {
Expand Down

0 comments on commit eb35bf2

Please sign in to comment.