xserver-multidpi/hw
Jon TURNEY 7e07d61857 hw/xwin: Bug fixes for screen sizing when the screen window is on a non-primary monitor
There is a bug that when the -screen option is used to specify a monitor for
the screen window to be located on, but no explicit size is specified
(and the -multiplemonitors option isn't specified), the screen
window size is always constrained to fit the work area of the primary
monitor (rather than the work area of the specified monitor)

This gives incorrect results if you want a screen the same size as your
non-primary monitor (e.g. by using -screen 0 @2) and your non-primary
monitor is larger than your primary monitor.

(This can be worked around by specifying -multiplemonitors and an explicit
screen size the same size as the monitor (e.g. -multiplemonitors -screen 0
1600x1200@2))

Fix to use work area for the monitor specified for the screen, rather than the
primary monitor work area (unless -multiplemonitors is used, in which case we
continue to use the virtual desktop work area instead)

Also fix the adjustment for an autohide taskbar, so that it is only done if the
taskbar is on the same monitor as the screen (or -multiplemonitors is used)

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
2012-07-16 13:54:15 +01:00
..
dmx Move extension initialisation prototypes into extinit.h 2012-07-09 23:06:41 -07:00
kdrive GLX: Remove unused noGlxVisualInit 2012-07-10 00:42:09 -07:00
vfb Replace NO_HW_ONLY_EXTS with Xorg DDX test 2012-07-10 00:31:02 -07:00
xfree86 xf86: include xf86platformBus.h in xf86AutoConfig.c 2012-07-12 19:23:42 -07:00
xnest Replace NO_HW_ONLY_EXTS with Xorg DDX test 2012-07-10 00:31:02 -07:00
xquartz XQuartz: Re-add prototype for DRIExtensionInit 2012-07-11 23:54:27 -07:00
xwin hw/xwin: Bug fixes for screen sizing when the screen window is on a non-primary monitor 2012-07-16 13:54:15 +01:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00