(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 not run.

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:
Hi,

On 08/30/2012 07:23 AM, [email protected] wrote:
From: Bill Spitzak <[email protected]>

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:
http://lists.freedesktop.org/archives/wayland-devel/2012-May/003320.html

let me know if you need some help.

          Tiago
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to