diff options
author | Cole Robinson <crobinso@redhat.com> | 2014-10-30 15:34:35 -0400 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-11-04 08:15:21 +0100 |
commit | b0f3182064c4943b91d4089ff2ed2d3c2d389ac6 (patch) | |
tree | 0d272240d6829cd5ae900f1240616f8261d1306d /ui/sdl2-keymap.h | |
parent | 277836c82bc973b8a39849a0d3398bae4bc265de (diff) |
gtk: Hide the menubar when in fullscreen mode (lp 1294898)
In fullscreen mode, we attempt to shrink the menubar to 1 pixel in height,
so it takes up as little room as possible while still allowing us to use
the keyboard shortcuts for its various operations.
However this shrinking is disregarded on gtk3, so the entire menu bar is
visible, which isn't very pleasant. This patch hides the menu bar instead.
The side effect is that the only keyboard shortcuts that will work in this
mode are the ones that we explicitly register on the top level window and
not the menu bar. The previous patches changed the fullscreen and vc
shortcuts to work like that, which I think are the only ones that really
matter in for the fullscreen case.
https://bugs.launchpad.net/qemu/+bug/1294898
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/sdl2-keymap.h')
0 files changed, 0 insertions, 0 deletions