xserver-multidpi/hw
Peter Hutterer 19be992d9d ephyr: if -parent is given, check for a trailing -screen. (#24144)
If -parent is given, don't open up a new window if -screen is given as well.
The commandline option -screen allows to set the depth of the embedded
Xephry instance, even though width and height are autoscaled on -parent.

This patch checks for a -screen parameter after -parent and - if one is
found - delays initializing the screen. The parent window id is stored
temporarily but re-set after a -screen argument.
The following command is thus valid:

Xephyr -parent 1234 -screen 640x480@8 -screen 1024x768

It embeds the first 8-bit screen into window 1234 and opens up a new window
for the second screen. Multiple parent arguments are possible, the screens
are embedded in-order.

X.Org Bug 24144 <http://bugs.freedesktop.org/show_bug.cgi?id=24144>

Tested-by: Vic Lee
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-29 09:38:44 +10:00
..
dmx dmx: undefine MITSHM, move undefs to miinitext.c. 2009-09-26 13:14:50 +10:00
kdrive ephyr: if -parent is given, check for a trailing -screen. (#24144) 2009-09-29 09:38:44 +10:00
vfb input: Add labels to buttons and valuators - ABI_XINPUT_VERSION 7 2009-06-18 14:41:47 +10:00
xfree86 xfree86: use the DDC size if either width or height of DisplaySize is bogus. 2009-09-28 14:51:39 +10:00
xnest Xnest: set the default pointer accel to the host's values (#10013) 2009-09-09 10:47:08 +10:00
xquartz XQuartz: Fix QuartzSetCursor to match the expected prototype. 2009-09-27 23:31:41 -07:00
xwin input: define server-supported protocol versions in one single file. 2009-09-21 21:47:35 +10:00
Makefile.am Remove xgl. 2008-06-12 16:00:50 -04:00