Skip to content

Commit

Permalink
#1232: no idea how to draw the pixmap onto itself and avoid the visua…
Browse files Browse the repository at this point in the history
…l corruption - so disable scrolling with the pixmap backend for now

git-svn-id: https://xpra.org/svn/Xpra/trunk@12899 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jun 24, 2016
1 parent ff34452 commit 8c98a53
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/xpra/client/gtk2/pixmap_backing.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ def __init__(self, *args):
self.paint_scaling = 1, 1
GTK2WindowBacking.__init__(self, *args)

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

def __repr__(self):
return "PixmapBacking(%s)" % self._backing

Expand Down Expand Up @@ -112,6 +107,7 @@ def copy_backing(self, old_backing):
cr.fill()

def paint_scroll(self, x, y, width, height, img_data, options, callbacks):
#Warning: unused as this causes strange visual corruption
self.idle_add(self.do_paint_scroll, x, y, width, height, img_data, options, callbacks)

def do_paint_scroll(self, x, y, w, h, scrolls, options, callbacks):
Expand Down

0 comments on commit 8c98a53

Please sign in to comment.