-
- Downloads
ephyr: set screen size & origin from host X server output's CRTC geometry
If a given output is passed via new -output option, Xephyr will query host X server for its info. If the following conditions are met: a. RandR extension is enabled in host X server; b. supported RandR version in host X server is 1.2 or newer; c. the given output name is valid; d. the given output is connected; then Xephyr will get output's CRTC geometry and use it to set its own screen size and origin. It's just like starting Xephyr in fullscreen mode, but restricted to the given output's CRTC geometry (fake "Zaphod mode"). This is the main feature needed for Xephyr-based single-card multiseat setups where we don't have separate screens to start Xephyr in fullscreen mode safely. Signed-off-by:Laércio de Sousa <laerciosousa@sme-mogidascruzes.sp.gov.br> Reviewed-by:
Keith Packard <keithp@keithp.com> Signed-off-by:
Keith Packard <keithp@keithp.com>
Showing
- configure.ac 1 addition, 1 deletionconfigure.ac
- hw/kdrive/ephyr/ephyr.c 4 additions, 1 deletionhw/kdrive/ephyr/ephyr.c
- hw/kdrive/ephyr/ephyr.h 2 additions, 0 deletionshw/kdrive/ephyr/ephyr.h
- hw/kdrive/ephyr/ephyrinit.c 26 additions, 2 deletionshw/kdrive/ephyr/ephyrinit.c
- hw/kdrive/ephyr/hostx.c 135 additions, 2 deletionshw/kdrive/ephyr/hostx.c
- hw/kdrive/ephyr/hostx.h 7 additions, 2 deletionshw/kdrive/ephyr/hostx.h
Loading
Please register or sign in to comment