Skip to content

Commit

Permalink
we don't use the size attribute for anything yet, and changes to this…
Browse files Browse the repository at this point in the history
… property could send us into a loop

git-svn-id: https://xpra.org/svn/Xpra/trunk@22113 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Mar 18, 2019
1 parent 659bec0 commit 196d146
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/xpra/x11/models/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,12 @@ def _handle_wm_normal_hints_change(self):
if hmaxw<MAX_WINDOW_SIZE or hmaxh<MAX_WINDOW_SIZE:
hints["maximum-size"] = hmaxw, hmaxh
sanitize_size_hints(hints)
#we don't use the "size" attribute for anything yet,
#and changes to this property could send us into a loop
try:
del hints["size"]
except KeyError:
pass
# Don't send out notify and ConfigureNotify events when this property
# gets no-op updated -- some apps like FSF Emacs 21 like to update
# their properties every time they see a ConfigureNotify, and this
Expand Down

0 comments on commit 196d146

Please sign in to comment.