]> git.proxmox.com Git - mirror_qemu.git/commit - ui/gtk.c
gtk: implement -full-screen
authorPeter Wu <lekensteyn@gmail.com>
Mon, 10 Jun 2013 18:04:43 +0000 (20:04 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 11 Jun 2013 19:45:44 +0000 (23:45 +0400)
commit787ba4f026f54d4fc7787078b896f9c5432c9a9b
tree92cc05acd31cde2aaac8b470ee11ea6b1125aea3
parentb5601df7624b461759651c49ac72a189951780b9
gtk: implement -full-screen

Aiming for GTK as replacement for SDL, a feature like -full-screen should also
be implemented.

Bringing the window into full-screen mode is done by activating the "Fullscreen"
menu item. This is done after showing the windows to make the cursor and menu
hidden.

v2: drop -no-frame implementation, use booleans instead of ints and ensure
    consistency between ui state and menu.

Signed-off-by: Peter Wu <lekensteyn@gmail.com>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
include/ui/console.h
ui/gtk.c
vl.c