mirror of
https://github.com/X11Libre/xf86-video-nested.git
synced 2026-03-24 01:24:18 +00:00
9734a4dff061acdf3338fa40120db671ad883e23
AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008, so it's time to rely on it. Clears autoconf warnings: configure.ac:44: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:44: You should run autoupdate. aclocal.m4:3465: AC_PROG_LIBTOOL is expanded from... configure.ac:44: the top level Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
xf86-video-nested: driver to run Xorg on top of Xorg or something else
= Usage =
This is how I test it:
X -config my.conf -noreset -retro :1
(if your Xorg server is old you might need "-sharevts vt7", in case your
bottom-layer X runs on vt7)
My xorg.conf:
-- begin xorg.conf --
Section "ServerFlags"
Option "AutoEnableDevices" "false"
Option "AutoAddDevices" "false"
Option "AllowEmptyInput" "true"
EndSection
Section "Device"
Identifier "device1"
Driver "nested"
Option "Display" ":0" # you can omit this
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
DefaultDepth 24
Option "Origin" "100 100" # you can omit this
SubSection "Display"
Depth 24
Modes "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "layout1"
Screen "screen1"
EndSection
-- end xorg.conf --
Mouse and keyboard input events from the client window are forwarded to the nested
xserver, so no mouse/keyboard drivers are needed.
You can also have more than one screen with this driver. Here's an example of a
xorg.conf with 2 screens and a mouse:
-- begin xorg.conf --
Section "ServerFlags"
Option "AutoEnableDevices" "false"
Option "AutoAddDevices" "false"
Option "AllowEmptyInput" "true"
EndSection
Section "Device"
Identifier "device1"
Driver "nested"
EndSection
Section "Device"
Identifier "device2"
Driver "nested"
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "screen2"
Device "device1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "layout1"
Screen "screen1"
Screen "screen2" RightOf "screen1"
InputDevice "mouse1"
EndSection
-- end xorg.conf --
Description
Languages
C
90.5%
Makefile
4.8%
M4
4.1%
Shell
0.6%