Skip to content

Commit

Permalink
skip None values which cause packet encoding errors
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jun 14, 2023
1 parent f813eed commit 3fa3f78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xpra/server/source/clientdisplay_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ def set_monitors(self, monitors):
"subpixel-layout" : td.strget,
"workarea" : td.inttupleget,
}.items():
vdef[attr] = conv(attr)
v = conv(attr)
if v is not None:
vdef[attr] = conv(attr)
log("set_monitors(%s) monitors=%s", monitors, self.monitors)

def set_screen_sizes(self, screen_sizes):
Expand Down

0 comments on commit 3fa3f78

Please sign in to comment.