Skip to content

Commit

Permalink
only enable GL windows with video encoders set as default
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@2342 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Dec 25, 2012
1 parent 9458a0d commit 8e05d5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ def _process_new_common(self, packet, override_redirect):
else:
auto_refresh_delay = self.auto_refresh_delay #we do it
ClientWindowClass = ClientWindow
if not self.mmap_enabled and GLClientWindowClass:
if not self.mmap_enabled and GLClientWindowClass and self.encoding in ("x264", "vpx"):
ClientWindowClass = GLClientWindowClass
pid = metadata.get("pid", -1)
group_leader = None
Expand Down

0 comments on commit 8e05d5e

Please sign in to comment.