Skip to content

Commit

Permalink
correctly check if the window needs to be moved
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@26055 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Apr 9, 2020
1 parent ce7b795 commit 3935aeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/x11/models/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ def resize_corral_window(self, x : int, y : int, w : int, h : int):
w, h = self.calc_constrained_size(w, h, hints)
cx, cy, cw, ch = self.get_property("geometry")
resized = cow!=w or coh!=h
moved = x!=0 or y!=0
moved = x!=cox or y!=coy
if resized:
if moved:
self._internal_set_property("set-initial-position", True)
Expand Down

0 comments on commit 3935aeb

Please sign in to comment.