Skip to content

Commit

Permalink
when we configure a window and it was hidden, make sure we unhide it/…
Browse files Browse the repository at this point in the history
…uniconify it

fixes #48

git-svn-id: https://xpra.org/svn/Xpra/trunk@313 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Nov 27, 2011
1 parent 83e39ad commit 6dd1ff9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/xpra/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ def show_window(self, model):
model.set_property("iconic", False)

def configure_window(self, model, x, y, w, h):
if not self.visible(model):
self._models[model].shown = True
model.set_property("iconic", False)
model.ownership_election()
self._models[model].geom = (x, y, w, h)
model.maybe_recalculate_geometry_for(self)

Expand Down

0 comments on commit 6dd1ff9

Please sign in to comment.