Skip to content

Commit

Permalink
Fix static positioning in Wayland. (#4547)
Browse files Browse the repository at this point in the history
The static was being positioned as if it still had a border.

Co-authored-by: Joe Rabinoff <rabinoff@post.harvard.edu>
  • Loading branch information
QBobWatson and Joe Rabinoff committed Oct 30, 2023
1 parent 9864ed9 commit 2933cde
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libqtile/backend/wayland/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -747,6 +747,8 @@ def static(
while self._borders:
for rect in self._borders.pop():
rect.node.destroy()
if self.tree:
self.tree.node.set_position(0, 0)

win = self._to_static()

Expand Down

0 comments on commit 2933cde

Please sign in to comment.