Skip to content

Commit

Permalink
#310: ensure we get mouse events for the gl area - restores tooltips …
Browse files Browse the repository at this point in the history
…in filelight

git-svn-id: https://xpra.org/svn/Xpra/trunk@3116 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Apr 19, 2013
1 parent 98d8fb7 commit 26e7781
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/xpra/gl/gl_window_backing.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ def __init__(self, wid, w, h, mmap_enabled, mmap):
display_mode &= ~gtk.gdkgl.MODE_DOUBLE
self.glconfig = gtk.gdkgl.Config(mode=display_mode)
self.glarea = gtk.gtkgl.DrawingArea(self.glconfig)
#restoring missed masks:
self.glarea.set_events(self.glarea.get_events() | gdk.POINTER_MOTION_MASK | gdk.POINTER_MOTION_HINT_MASK)
self.glarea.show()
self.glarea.connect("expose_event", self.gl_expose_event)
self.textures = None # OpenGL texture IDs
Expand Down

0 comments on commit 26e7781

Please sign in to comment.