xserver-multidpi/hw/kdrive
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
..
ephyr ephyr: if -parent is given, check for a trailing -screen. (#24144) 2009-09-29 09:38:44 +10:00
fake Convert kdrive libraries to libtool convenience libraries. 2009-01-27 03:13:28 -02:00
fbdev Convert kdrive libraries to libtool convenience libraries. 2009-01-27 03:13:28 -02:00
linux KDrive: Warning fixes and cleanups 2009-06-11 03:54:10 +10:00
sdl kdrive: fix sdl build by removing old keySymsRec references. 2009-09-09 10:31:15 +10:00
src kdrive: plug two memory leaks when freeing the KdKeyboard/Pointer. 2009-09-25 08:17:03 +10:00
Makefile.am kdrive: Bye bye Xvesa 2008-11-05 11:39:46 -05:00
Xkdrive.man The great kdrive purge. 2008-05-16 08:16:01 -04:00