summaryrefslogtreecommitdiffstats
path: root/virt-viewer.spec.in
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@redhat.com>2014-02-21 16:39:30 -0600
committerJonathon Jongsma <jjongsma@redhat.com>2014-02-26 13:50:58 -0600
commit895ef8029e794e7b74a45f27c7c741d1332bc02b (patch)
treefd7ecd73f6b19eba5bf763ba174d8f75a055f0c6 /virt-viewer.spec.in
parent7212c8745a4853e99e9a5a1473aa45ce141c2506 (diff)
downloadvirt-viewer-895ef8029e794e7b74a45f27c7c741d1332bc02b.tar.gz
virt-viewer-895ef8029e794e7b74a45f27c7c741d1332bc02b.tar.xz
virt-viewer-895ef8029e794e7b74a45f27c7c741d1332bc02b.zip
Don't resize guest display on zoom change
When the zoom level is changed, the virt-viewer window gets resized. But we don't want this to trigger a resize of the guest display. But occasionally rounding errors cause the guest display to be reconfigured when zooming out. To fix this, we first check whether the current size is the preferred size. If it is, we don't send down a resize command to the guest. In addition to preventing guest resizes in response to zooming, it also improves the behavior when the guest display resolution is changed from within the guest. Before this change, we'd have the following behavior: A. guest changes display to WxH B. client gets notified of change and resizes the window to WxH C. client responds to window resize by sending a new monitor config command to the guest With this change, the extra step C will be avoided because we're already at the preferred size. Resolves: rhbz#1004051
Diffstat (limited to 'virt-viewer.spec.in')
0 files changed, 0 insertions, 0 deletions