Imported Upstream version 1.15.1
[deb_xorg-server.git] / hw / kdrive / ephyr / man / Xephyr.man
CommitLineData
a09e091a
JB
1.\"
2.\" Copyright (c) Matthieu Herrb <matthieu@herrb.eu>
3.\"
4.\" Permission to use, copy, modify, and distribute this software for any
5.\" purpose with or without fee is hereby granted, provided that the above
6.\" copyright notice and this permission notice appear in all copies.
7.\"
8.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15.\"
16.TH Xephyr __appmansuffix__ __vendorversion__
17.SH NAME
18Xephyr - X server outputting to a window on a pre-existing X display
19.SH SYNOPSIS
20.B Xephyr
21.RI [\fB:\fP display ]
22.RI [ option
23.IR ... ]
24.SH DESCRIPTION
25.B Xephyr
26is a kdrive server that outputs to a window on a pre-existing "host"
27X display.
28Think
29.I Xnest
30but with support for modern extensions like composite, damage and randr.
31.PP
32Unlike
33.I Xnest
34which is an X proxy, i.e. limited to the capabilities of the host X server,
35.B Xephyr
36is a real X server which
37uses the host X server window as "framebuffer" via fast SHM XImages.
38.PP
39It also has support for "visually" debugging what the server is
40painting.
41.SH OPTIONS
42The server accepts all the standard options of Xserver(__appmansuffix__)
43and the following additional options:
44.TP 8
45.BI -screen " width" x height
46sets the screen size.
47.TP 8
48.BI -parent " id"
49uses existing window
50.I id .
51If a
52.BI -screen
53argument follows a
54.BI -parent
55argument, this screen is embedded into the given window.
56.TP 8
57.B -host-cursor
58set 'cursor acceleration':
59The host's cursor is reused. This is only really there to aid
60debugging by avoiding server paints for the cursor. Performance
61improvement is negligible.
62.TP 8
63.B -resizeable
64Allow the Xephyr window to be resized, even if not embedded into a parent
65window. By default, the Xephyr window has a fixed size.
66.SH "SIGNALS"
67Send a SIGUSR1 to the server (e.g. pkill -USR1 Xephyr) to
68toggle the debugging mode.
69In this mode red rectangles are painted to
70screen areas getting painted before painting the actual content.
71The
72delay between this can be altered by setting a XEPHYR_PAUSE env var to
73a value in micro seconds.
74.SH CAVEATS
75.PP
76.IP \(bu 2
77Rotated displays are currently updated via full blits. This
78is slower than a normal orientated display. Debug mode will
79therefore not be of much use rotated.
80.IP \(bu 2
81The '-host-cursor' cursor is static in its appearance.
82.IP \(bu 2
83The build gets a warning about 'nanosleep'. I think the various '-D'
84build flags are causing this. I haven't figured as yet how to work
85round it. It doesn't appear to break anything however.
86.IP \(bu 2
87Keyboard handling is basic but works.
88.IP \(bu 2
89Mouse button 5 probably won't work.
90.SH "SEE ALSO"
91X(__miscmansuffix__), Xserver(__appmansuffix__)
92.SH AUTHOR
93Matthew Allum <mallum@o-hand.com> 2004