From 8e05d5e4a1b464574c867d4362803b91acb8c597 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Tue, 25 Dec 2012 04:34:20 +0000 Subject: [PATCH] only enable GL windows with video encoders set as default git-svn-id: https://xpra.org/svn/Xpra/trunk@2342 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- src/xpra/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xpra/client.py b/src/xpra/client.py index 6896a5e2eb..6985d28b58 100644 --- a/src/xpra/client.py +++ b/src/xpra/client.py @@ -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