Skip to content

Commit

Permalink
ignore video region when it is disabled!
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@12758 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jun 7, 2016
1 parent 66fedde commit 6f0189f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/server/window/window_video_source.py
Expand Up @@ -552,7 +552,7 @@ def send_nonvideo(regions=regions, encoding=coding, exclude_region=None, get_bes
return send_nonvideo()

vr = self.video_subregion.rectangle
if not vr:
if not vr or not self.video_subregion.enabled:
sublog("no video region, we may use the video encoder for something else")
WindowSource.do_send_delayed_regions(self, damage_time, window, regions, coding, options)
return
Expand Down

0 comments on commit 6f0189f

Please sign in to comment.