Skip to content

Commit

Permalink
log the invalid value we found, not the value we reset it to
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@10915 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Oct 18, 2015
1 parent 07898af commit b6f5590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/client/gtk_base/gtk_client_window_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -708,8 +708,8 @@ def set_workspace(self, workspace):
return None
if workspace<0:
#this should not happen, workspace is unsigned! (CARDINAL)
workspacelog.warn("invalid workspace number: %s", workspace)
workspace = WORKSPACE_UNSET
workspacelog.warn("invalid workspace number: %s", self._window_workspace)
workspacelog("%s.set_workspace() workspace=%s ndesktops=%s", self, workspace, ndesktops)
#we will need the gdk window:
if not self.is_realized():
Expand Down

0 comments on commit b6f5590

Please sign in to comment.