Skip to content

Commit

Permalink
#799: make sure we can use the pid as reference if the leader xid is …
Browse files Browse the repository at this point in the history
…not specified (the leader_id is never None!)

git-svn-id: https://xpra.org/svn/Xpra/trunk@8603 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Feb 2, 2015
1 parent 28e294e commit f35cb93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/client/gtk2/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ def get_group_leader(self, metadata, override_redirect):
return group_leader_window
reftype = "xid"
ref = leader_xid
if ref is None:
if ref<0:
reftype = "pid"
ref = pid
if ref is None:
Expand Down

0 comments on commit f35cb93

Please sign in to comment.