1. 11 7月, 2014 1 次提交
    • J
      ui/gtk: Restore keyboard focus after Page change · e72b59fa
      John Snow 提交于
      (Resending for correct email addresses via MAINTAINERS ...)
      
      In the GTK UI, after changing focus to the qemu monitor Notebook Page,
      when restoring focus to the virtual machine page, the keyboard focus is lost
      to a hidden GTK widget. Focus can only be restored to the virtual machine by
      pressing "tab" or any of the four directional arrow keys.
      
      Clicking in the window or grabbing/ungrabbing input does not restore keyboard
      focus to the child widget.
      
      This patch adjusts the Notebook page switching callback to automatically
      steal keyboard focus on the Page switch event, so that keyboard input
      does not appear to break or disappear after tabbing to the QEMU monitor.
      Signed-off-by: NJohn Snow <jsnow@redhat.com>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      e72b59fa
  2. 11 6月, 2014 4 次提交
  3. 26 5月, 2014 24 次提交
  4. 29 4月, 2014 6 次提交
  5. 08 4月, 2014 1 次提交
    • T
      gtk: Implement grab-on-click behavior in relative mode · 800b0e81
      Takashi Iwai 提交于
      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: NTakashi Iwai <tiwai@suse.de>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      800b0e81
  6. 07 4月, 2014 3 次提交
  7. 26 3月, 2014 1 次提交