summaryrefslogtreecommitdiff
path: root/os-posix.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2013-02-20 07:43:23 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2013-02-21 16:34:48 -0600
commitc61584833c579cd7bf800499124ce3d0e15bfb37 (patch)
tree33bed1abc44201b14e8541fb50a22bc0e1966bb4 /os-posix.c
parent5104a1f65088285ddf870aa641b9061064e8757d (diff)
downloadqemu-c61584833c579cd7bf800499124ce3d0e15bfb37.tar.gz
qemu-c61584833c579cd7bf800499124ce3d0e15bfb37.tar.bz2
qemu-c61584833c579cd7bf800499124ce3d0e15bfb37.zip
gtk: add support for screen scaling and full screen (v5)
Basic menu items to enter full screen mode and zoom in/out. Unlike SDL, we don't allow arbitrary scaling based on window resizing. The current behavior with SDL causes a lot of problems for me. Sometimes I accidentally resize the window a tiny bit while trying to move it (Ubuntu's 1-pixel window decorations don't help here). After that, scaling is now active and if the screen changes size again, badness ensues since the aspect ratio is skewed. Allowing zooming by 25% in and out should cover most use cases. We can add a more flexible scaling later but for now, I think this is a more friendly behavior. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-id: 1361367806-4599-7-git-send-email-aliguori@us.ibm.com
Diffstat (limited to 'os-posix.c')
0 files changed, 0 insertions, 0 deletions