Skip to content

Commit

Permalink
#976: preserve delta regions when re-creating the backing (prevents m…
Browse files Browse the repository at this point in the history
…issing bucket errors)

git-svn-id: https://xpra.org/svn/Xpra/trunk@10922 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Oct 20, 2015
1 parent 21c592d commit e3c20a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/xpra/client/ui_client_base.py
Expand Up @@ -2297,9 +2297,10 @@ def fake_send(*args):
metadata = window._metadata
override_redirect = window._override_redirect
backing = window._backing
video_decoder, csc_decoder, decoder_lock = None, None, None
delta_pixel_data, video_decoder, csc_decoder, decoder_lock = None, None, None, None
try:
if backing:
delta_pixel_data = backing._delta_pixel_data
video_decoder = backing._video_decoder
csc_decoder = backing._csc_decoder
decoder_lock = backing._decoder_lock
Expand Down Expand Up @@ -2329,6 +2330,7 @@ def fake_send(*args):
window = self.make_new_window(wid, x, y, ww, wh, bw, bh, metadata, override_redirect, client_properties)
if video_decoder or csc_decoder:
backing = window._backing
backing._delta_pixel_data = delta_pixel_data
backing._video_decoder = video_decoder
backing._csc_decoder = csc_decoder
backing._decoder_lock = decoder_lock
Expand Down

0 comments on commit e3c20a7

Please sign in to comment.