diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-04-08 11:26:45 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-04-08 13:57:34 +0200 |
commit | 800b0e814bef7cd14ae2bce149c09d70676e93fb (patch) | |
tree | 93d18f4d59e86d40239ed3259da217c13e94f0c5 /ioport.c | |
parent | 55519a4b244e4822774b593e36647ecf7598286b (diff) | |
download | qemu-800b0e814bef7cd14ae2bce149c09d70676e93fb.zip qemu-800b0e814bef7cd14ae2bce149c09d70676e93fb.tar.gz qemu-800b0e814bef7cd14ae2bce149c09d70676e93fb.tar.bz2 |
gtk: Implement grab-on-click behavior in relative mode
This patch changes the behavior in the relative mode to be compatible
with other UIs, namely, grabbing the input at the first left click.
It improves the usability a lot; otherwise you have to press ctl-alt-G
or select from menu at each time you want to move the pointer. Also,
the input grab is cleared when the current mode is switched to the
absolute mode.
The automatic reset of the implicit grabbing is needed since the
switching to the absolute mode happens always after the click even on
Gtk. That is, we cannot check whether the absolute mode is already
available at the first click time even though it should have been
switched in X11 input driver side.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ioport.c')
0 files changed, 0 insertions, 0 deletions