Skip to content

Commit

Permalink
#770: hang all our windows from the root window instead of the "world…
Browse files Browse the repository at this point in the history
… window", this fixes applications which expect the "top level window" to hang directly off the root window (ie: Java)

git-svn-id: https://xpra.org/svn/Xpra/trunk@8484 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jan 16, 2015
1 parent 17bef2a commit d94c3f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/xpra/x11/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ def _elect_me(self, model):
return (-1, self)

def take_window(self, model, window):
window.reparent(self.window, 0, 0)
root = self.window.get_screen().get_root_window()
window.reparent(root, 0, 0)

def window_size(self, model):
w, h = self._models[model].geom[2:4]
Expand Down

0 comments on commit d94c3f0

Please sign in to comment.