virt-viewer/src
Jonathon Jongsma 895ef8029e 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
2014-02-26 13:50:58 -06:00
..
view ovBox: Make get_preferred_width/height differentiate between min and natural 2013-04-23 13:49:24 +02:00
debug-helper.c win32: process message queue in debug-helper 2013-02-11 16:54:01 +01:00
gbinding.c Silence unused arguments warnings 2013-05-16 21:54:48 +02:00
gbinding.h Add back compat for GObject 2.22 which lacks GBinding 2012-02-16 14:52:55 +00:00
Makefile.am Load ui files first from installed location 2014-01-20 16:10:12 -06:00
remote-viewer-main.c Improve window title when connected to newer spice-server 2014-02-11 11:56:43 -06:00
remote-viewer.c spice: do not open in fullscreen with CONTROLLER_AUTO_DISPLAY_RES 2014-02-26 12:42:20 +01:00
remote-viewer.h Improve window title when connected to newer spice-server 2014-02-11 11:56:43 -06:00
virt-glib-compat.c Add missing include of config.h 2013-05-01 16:11:06 +01:00
virt-glib-compat.h Fix compilation with older glib versions 2013-03-20 16:03:28 +01:00
virt-gtk-compat.h Add ability to send Secure attention sequence via keyboard 2013-09-10 08:06:09 +02:00
virt-viewer-about.xml Ensure About dialog has transient hints setup 2012-02-08 17:15:16 +00:00
virt-viewer-app.c rhbz#1007306 - Don't free session if we're re-trying auth 2014-02-13 09:09:13 -06:00
virt-viewer-app.h Improve window title when connected to newer spice-server 2014-02-11 11:56:43 -06:00
virt-viewer-auth.c Move vnc-specific auth logic to VirtViewerSessionVnc 2014-02-13 09:09:13 -06:00
virt-viewer-auth.h Move vnc-specific auth logic to VirtViewerSessionVnc 2014-02-13 09:09:13 -06:00
virt-viewer-auth.xml Ensure auth popup windows have correct transient parent 2012-02-08 19:33:40 +00:00
virt-viewer-display-spice.c Don't resize guest display on zoom change 2014-02-26 13:50:58 -06:00
virt-viewer-display-spice.h Hook up handling of Monitors 2012-07-23 16:27:33 +02:00
virt-viewer-display-vnc.c Don't set VNC display to ready until vnc is initialized 2014-02-13 09:09:13 -06:00
virt-viewer-display-vnc.h Update copyright headers 2012-02-06 12:42:18 +00:00
virt-viewer-display.c Do all display alignment in virt-viewer 2013-11-27 10:35:22 -06:00
virt-viewer-display.h Do all display alignment in virt-viewer 2013-11-27 10:35:22 -06:00
virt-viewer-enums.c.etemplate build: generate enums type boilerplate 2012-07-23 16:27:32 +02:00
virt-viewer-enums.h.etemplate build: generate enums type boilerplate 2012-07-23 16:27:32 +02:00
virt-viewer-events.c Fix virt-viewer.exe on win32 2014-01-24 16:51:04 +00:00
virt-viewer-events.h Update copyright headers 2012-02-06 12:42:18 +00:00
virt-viewer-file.c Improve window title when connected to newer spice-server 2014-02-11 11:56:43 -06:00
virt-viewer-file.h file: learn to set secure-attention hotkey 2013-11-07 19:43:39 +01:00
virt-viewer-main.c Try to share more GOption code between r-v and v-v 2013-08-20 13:39:46 +02:00
virt-viewer-notebook.c Make status widget visible immediately 2012-07-23 16:27:33 +02:00
virt-viewer-notebook.h Update copyright headers 2012-02-06 12:42:18 +00:00
virt-viewer-session-spice.c spice: ask credentials for proxy 2014-02-24 16:36:09 +01:00
virt-viewer-session-spice.h spice: implement --fullscreen=auto-conf 2012-03-21 16:20:37 +01:00
virt-viewer-session-vnc.c Don't set VNC display to ready until vnc is initialized 2014-02-13 09:09:13 -06:00
virt-viewer-session-vnc.h vnc: add connection by file 2013-01-18 12:28:58 +01:00
virt-viewer-session.c Create a sparse array for monitor-geometry-changed 2013-11-27 10:35:22 -06:00
virt-viewer-session.h Do all display alignment in virt-viewer 2013-11-27 10:35:22 -06:00
virt-viewer-util.c Display warning if UI file fails 2014-02-11 11:56:37 -06:00
virt-viewer-util.h Add virt_viewer_compare_version() 2013-03-08 16:54:01 +01:00
virt-viewer-window.c Enable the display before showing the window 2013-12-16 11:24:19 -06:00
virt-viewer-window.h kiosk: add app kiosk option, pass it down to window 2013-08-20 13:44:04 +02:00
virt-viewer.c Improve window title when connected to newer spice-server 2014-02-11 11:56:43 -06:00
virt-viewer.h Try to share more GOption code between r-v and v-v 2013-08-20 13:39:46 +02:00
virt-viewer.manifest win32: add a few Windows sepecific data 2012-03-30 14:48:13 +02:00
virt-viewer.rc.in Use a more descriptive FileDescription 2013-05-23 17:31:05 +02:00
virt-viewer.xml Rename internal toggle-fullscreen menu accel name 2013-11-07 19:43:39 +01:00
windows-cmdline-wrapper.c win32: there is no CONERR$, only CONOUT$ 2012-10-23 11:17:04 +02:00