[PATCH 0/2] new approach for Xephyr window placement (for multiseat purposes)

Laércio de Sousa lbsousajr at gmail.com
Sat Apr 26 10:26:06 PDT 2014


This new approach for Xephyr window placement supersedes that one
found in http://lists.x.org/archives/xorg-devel/2014-February/040604.html.
Instead of extending kdrive -screen option to allow +X+Y parsing, this
approach uses kdrive -origin option, which seems unused by Xephyr at the moment.

Moreover, a new Xephyr -output option is introduced, which will be specially
useful for single-card, multi-head, non-Zaphod based multiseat setups, when
a single screen spans several outputs.

There was a historical controversy about providing a -geometry option to
Xephyr 6~7 years ago (see bug #12221), but now this feature is much easier
to implement and maintain than in that time. In the absence of such an
option, one must have to do some tricks to get Xephyr windows in the right
positions, like launching another geometry-friendly X window and putting
Xephyr on top of it with -parent option.

Laércio de Sousa (1):
  ephyr: set screen size & origin from host X server output's CRTC
    geometry

Loic Grenie (1):
  ephyr: allow starting window at other than 0,0 location (via kdrive
    -origin option)

 configure.ac                |   2 +-
 hw/kdrive/ephyr/ephyr.c     |   8 ++-
 hw/kdrive/ephyr/ephyr.h     |   2 +
 hw/kdrive/ephyr/ephyrinit.c |  21 ++++++-
 hw/kdrive/ephyr/hostx.c     | 147 ++++++++++++++++++++++++++++++++++++++++++--
 hw/kdrive/ephyr/hostx.h     |  10 ++-
 6 files changed, 177 insertions(+), 13 deletions(-)

-- 
1.8.4.5



More information about the xorg-devel mailing list