Skip to content

Commit

Permalink
undo hack from r3713: we can't just close the OR window and hope for …
Browse files Browse the repository at this point in the history
…the best (unfortunately)

git-svn-id: https://xpra.org/svn/Xpra/trunk@3768 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jul 5, 2013
1 parent 7329be5 commit 65d4cfa
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/xpra/x11/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,12 +449,8 @@ def _focus(self, server_source, wid, modifiers):
#first see if we need to deal with OR losing focus:
has_focus = self._id_to_window.get(self._has_focus)
if has_focus and has_focus.is_OR():
#OR window had focus, hide it
#(that's usually enough to make things work!)
gdkwin = has_focus.get_property("client-window")
log("focus(%s, %s, %s) hiding and unmanaging OR window %s", server_source, wid, modifiers, has_focus)
gdkwin.hide()
has_focus.unmanage()
#OR window had focus - deal with grabs here?
pass

def reset_focus():
log("reset_focus() %s / %s had focus", self._has_focus, has_focus)
Expand Down

0 comments on commit 65d4cfa

Please sign in to comment.