Skip to content

Commit

Permalink
#1232: until multi-window is fixed, disable scroll encoding by default
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@12901 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jun 25, 2016
1 parent fb70d2e commit ec6154b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/xpra/client/gl/gl_window_backing_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
fpslog = Logger("opengl", "fps")
OPENGL_DEBUG = os.environ.get("XPRA_OPENGL_DEBUG", "0")=="1"
OPENGL_PAINT_BOX = int(os.environ.get("XPRA_OPENGL_PAINT_BOX", "0"))
SCROLL_ENCODING = os.environ.get("XPRA_SCROLL_ENCODING", "0")=="1"

from xpra.gtk_common.gtk_util import color_parse, is_realized

Expand Down Expand Up @@ -263,7 +264,8 @@ def init_backing(self):

def get_encoding_properties(self):
props = GTKWindowBacking.get_encoding_properties(self)
props["encoding.scrolling"] = True
if SCROLL_ENCODING:
props["encoding.scrolling"] = True
return props


Expand Down

0 comments on commit ec6154b

Please sign in to comment.