[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] e72b59: ui/gtk: Restore keyboard focus after
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] e72b59: ui/gtk: Restore keyboard focus after Page change |
Date: |
Fri, 11 Jul 2014 07:00:05 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: e72b59fa93b68635f42cdb1b1134f60dd4040d7b
https://github.com/qemu/qemu/commit/e72b59fa93b68635f42cdb1b1134f60dd4040d7b
Author: John Snow <address@hidden>
Date: 2014-07-11 (Fri, 11 Jul 2014)
Changed paths:
M ui/gtk.c
Log Message:
-----------
ui/gtk: Restore keyboard focus after Page change
(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: John Snow <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>
Commit: 22df3452dcab04adf57bda370ced35193395a475
https://github.com/qemu/qemu/commit/22df3452dcab04adf57bda370ced35193395a475
Author: Peter Maydell <address@hidden>
Date: 2014-07-11 (Fri, 11 Jul 2014)
Changed paths:
M ui/gtk.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/kraxel/tags/pull-gtk-20140711-1' into
staging
ui/gtk: Restore keyboard focus after Page change
# gpg: Signature made Fri 11 Jul 2014 09:46:21 BST using RSA key ID D3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <address@hidden>"
# gpg: aka "Gerd Hoffmann <address@hidden>"
# gpg: aka "Gerd Hoffmann (private) <address@hidden>"
* remotes/kraxel/tags/pull-gtk-20140711-1:
ui/gtk: Restore keyboard focus after Page change
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/74aeb37de060...22df3452dcab
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] e72b59: ui/gtk: Restore keyboard focus after Page change,
GitHub <=