Skip to content

Commit

Permalink
#2052 the encoding properties and _set_backing_size already take care…
Browse files Browse the repository at this point in the history
… of telling the server about the 'render-size'

git-svn-id: https://xpra.org/svn/Xpra/trunk@26665 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jun 10, 2020
1 parent 3b343e8 commit 1f9d20e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/xpra/client/client_widget_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ def make_new_backing(self, backing_class, ww, wh, bw, bh):
backing = bc(self._id, self._window_alpha, self.pixel_depth)
if self._client.mmap_enabled:
backing.enable_mmap(self._client.mmap)
obs = backing.render_size
if obs!=(ww, wh):
#tell the server about the window rendering geometry:
#(so it can downscale to the desired coordinates)
self._client_properties["encoding.render-size"] = (ww, wh)
backing.init(ww, wh, bw, bh)
return backing

Expand Down

0 comments on commit 1f9d20e

Please sign in to comment.