Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
elParaguayo committed Jul 26, 2023
1 parent 53eb8cd commit dcdf330
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libqtile/backend/x11/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -995,6 +995,9 @@ def change_layer(self, up=True, top_bottom=False):
if len(self.qtile.windows_map) < 2:
return

if self.group is None and not isinstance(self, Static):
return

# Use the window's group or current group if this isn't set (e.g. Static windows)
group = self.group or self.qtile.current_group

Expand Down

0 comments on commit dcdf330

Please sign in to comment.