virt-viewer/src
Jonathon Jongsma 33614f86db Do all display alignment in virt-viewer
Don't rely on spice-gtk to do any alignment of displays.  This patch sets the
disable-display-align property on the SpiceMainChannel, and makes the
VirtViewerSession in charge of doing all alignment. This means that every
display has to tell the VirtViewerSession when its "virtual monitor" has changed
configuration (and wants to reconfigure its display on the guest), rather than
sending it directly to the Main Channel.  The session will then align the
displays (if necessary), and the spice session will send down new configuration
for all displays at once. This solves a couple of problems:

1. It allows the session to send down absolute coordinates only in the case
   where *all* windows are fullscreen (so that we can still support
   vertically-stacked displays, etc).  But it auto-aligns displays if only a
   subset of the displays are in fullscreen mode. This solves the problem of
   overlapping regions on different displays when one monitor is in fullscreen
   because only one monitor's configuration was updated and the others were not
   aligned.
2. Allows us to always align based on the current position of each display. This
   contrasts with the earlier behavior where the position used for alignment was
   the window's position at the time when it was last resized. This caused
   displays to be arranged in a seemingly non-deterministic manner if one window
   was moved and then another window was resized (causing a display
   re-configuration).

Solves rhbz#1002156
2013-11-27 10:35:22 -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 build-sys: Simplify setting of optional CFLAGS/LDFLAGS 2013-04-12 21:21:15 +02:00
remote-viewer-main.c ovirt: Honour oVirt command line options 2013-10-30 10:52:53 +01:00
remote-viewer.c Reshow connection dialog on errors 2013-11-13 11:29:05 +01:00
remote-viewer.h Try to share more GOption code between r-v and v-v 2013-08-20 13:39:46 +02: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 Ensure all windows obey initial --zoom setting 2013-11-21 12:41:17 -06:00
virt-viewer-app.h Add ability to define custom display->monitor mapping per vm 2013-11-20 10:58:52 -06:00
virt-viewer-auth.c Remove debugging leftover 2013-07-05 13:20:00 +02:00
virt-viewer-auth.h vnc: add connection by file 2013-01-18 12:28:58 +01: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 Do all display alignment in virt-viewer 2013-11-27 10:35:22 -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 vnc: implement release_cursor() 2013-07-08 20:02:51 +02: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 Add config.h to every source file 2012-02-06 12:42:22 +00:00
virt-viewer-events.h Update copyright headers 2012-02-06 12:42:18 +00:00
virt-viewer-file.c Unify configured hotkey behaviour 2013-11-07 19:43:39 +01: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 Do all display alignment in virt-viewer 2013-11-27 10:35:22 -06:00
virt-viewer-session-spice.h spice: implement --fullscreen=auto-conf 2012-03-21 16:20:37 +01:00
virt-viewer-session-vnc.c vnc: Clear all displays before creating dummy display 2013-10-16 19:13:43 +02:00
virt-viewer-session-vnc.h vnc: add connection by file 2013-01-18 12:28:58 +01:00
virt-viewer-session.c Do all display alignment in virt-viewer 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 Add ability to use 'End' key in hotkeys 2013-09-10 08:06:13 +02:00
virt-viewer-util.h Add virt_viewer_compare_version() 2013-03-08 16:54:01 +01:00
virt-viewer-window.c separate fullscreen_set_active into a separate function 2013-11-20 11:09:39 -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 Add ability to define custom display->monitor mapping per vm 2013-11-20 10:58:52 -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