Could this fix the Mouse grabbing problem?

This commit is contained in:
Clement Lefebvre 2009-11-19 01:09:45 +00:00
parent 224f0f159f
commit 932ada9c48

View File

@ -485,13 +485,13 @@ class MainWindow( object ):
self.plugins["applications"].focusSearchEntry()
def grab( self ):
gtk.gdk.pointer_grab( self.window.window, True, gtk.gdk.BUTTON_PRESS_MASK )
#gtk.gdk.pointer_grab( self.window.window, True, gtk.gdk.BUTTON_PRESS_MASK )
gtk.gdk.keyboard_grab( self.window.window, False )
self.window.grab_add()
def ungrab( self ):
self.window.grab_remove()
gtk.gdk.pointer_ungrab()
#gtk.gdk.pointer_ungrab()
gtk.gdk.keyboard_ungrab()
def onMap( self, widget, event ):