[PATCH] Wayland X server uses xwayand.conf instead of xorg.conf
spitzak at gmail.com
Fri Aug 31 10:55:09 PDT 2012
(sorry for duplicate I forgot to do reply-all)
Yes the reason I need an xorg.conf is that I need the wlshm driver.
According to the documentation the other drivers work automatically, so
if it is possible to detect this then there should be no need for a file.
However this does not fix the problem this patch is addressing. Even if
*no* xorg.conf file is needed, it is impossible to tell xwayland to not
use an existing xorg.conf file, such as one needed to run legacy X on
the same machine. The text in this then screws up xwayland and it does
An alternative to my patch is to change it to *never* read the config
file. However this seems unsafe, for instance currenlty the wlshm driver
cannot be made to work. Also even if all the driver/screen problems are
fixed, it appears xorg.conf files are needed to fix events for Xlib
programs. In one machine I have this is the only way to get two
different mice to have different button assignments.
Tiago Vignatti wrote:
> On 08/30/2012 07:23 AM, spitzak at gmail.com wrote:
>> From: Bill Spitzak <spitzak at gmail.com>
>> This allows X applications to be run on wayland without having to
>> delete an xorg.conf file that is required to run the normal X server.
> Please correct me if I'm wrong, but the only reason I'm seeing for
> having a separate config file on Xwayland is to set a different video
> driver, in particular the wlshm.
> In that case a reasonable solution is to make Xwayland guess whether a
> fallback is needed and automatically sets it internally. We discussed
> awhile ago it and maybe you want to enhance the patch I started:
> let me know if you need some help.
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
More information about the wayland-devel