diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-09-28 14:18:45 +1000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-10-11 21:21:42 -0700 |
commit | 7f2f71da5125ae01a8279a4886090a711100d671 (patch) | |
tree | e6e89932474c2282f600da0a34091fb710f1d6ed /include/extinit.h | |
parent | c07b2368a7dedb66455eea313c06859afa2e1a9c (diff) |
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>
(cherry picked from commit 19be992d9dc542b61fa3f4fd32a09071c9e64880)
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'include/extinit.h')
0 files changed, 0 insertions, 0 deletions