xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Initial Version and Version 1 of Ticket #147, comment 29


Ignore:
Timestamp:
02/19/13 18:02:48 (8 years ago)
Author:
ahuillet
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #147, comment 29

    initial v1  
    1818         if x+w>ww or y+h>wh:
    1919}}}
     20
     21EDIT:
     22actually, the following patch seems to do what we expect :
     23
     24{{{
     25--- a/src/xpra/gl/gl_window_backing.py
     26+++ b/src/xpra/gl/gl_window_backing.py
     27@@ -133,6 +133,9 @@ class GLPixmapBacking(PixmapBacking):
     28                 self.gl_end(drawable)
     29 
     30     def _do_paint_rgb24(self, img_data, x, y, w, h, rowstride, options, callbacks):
     31+        gc = self.glarea.window.new_gc()
     32+        self.glarea.window.draw_rgb_image(gc, x, y, w, h, gdk.RGB_DITHER_NONE, img_data, rowstride)
     33+        return
     34         log("do_paint_rgb24(%s bytes, %s, %s, %s, %s, %s, %s, %s)", len(img_data), x, y, w, h, rowstride, options, callbacks)
     35         ww, wh = self.size
     36         if x+w>ww or y+h>wh:
     37}}}
     38
     39Will you please test, confirm, and cleanup?
     40
     41Thanks!