]> Git Repo - qemu.git/commit
gtk: Use gtk generic event signal instead of motion-notify-event
authorTakashi Iwai <[email protected]>
Fri, 4 Apr 2014 10:41:21 +0000 (12:41 +0200)
committerGerd Hoffmann <[email protected]>
Mon, 7 Apr 2014 08:09:51 +0000 (10:09 +0200)
commit0d0e044dee0ed59628bb093a5be03528d6bde445
tree88d9b89d082ba1d593887c07fb583228a47da809
parent466e6e9d13d56bbb6da1d2396d7d6347df483af0
gtk: Use gtk generic event signal instead of motion-notify-event

The GDK motion-notify-event isn't generated when the pointer goes out
of the target window even if the pointer is grabbed, which essentially
means to lose the pointer tracking in gtk-ui.

Meanwhile the generic "event" signal is sent when the pointer is
grabbed, so we can use this and pick the motion notify events manually
there instead.

Reference: https://bugzilla.novell.com/show_bug.cgi?id=849587
Tested-by: Cole Robinson <[email protected]>
Reviewed-by: Cole Robinson <[email protected]>
Tested-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
ui/gtk.c
This page took 0.024024 seconds and 4 git commands to generate.