> Patrik Stridvall <psÉleissner.se> writes:
>
> > Since you apparently didn't like the my last
> > attempt to solve the problems, here is
> > a new variant for each problem.
>
> Much better, except for the added #ifdef X_DISPLAY_MISSING; we should
> be removing the ifdefs now,
You didn't apply my new version of without-x.diff either,
but if you do we can remove all X_DISPLAY_MISSING from all files I think.
Why didn't you apply it? I'm sorry to say that I can't think
of any other way of doing it that will enable the full removal
of all X_DISPLAY_MISSING. Please advise. In case you forgot it
I have attached it.
Anyway if you would apply it, or something similar,
I will make a patch removing all use X_DISPLAY_MISSING
if possible.
> not adding more. And I'd find more elegant
> to make the graphics driver a wine.conf parameter; so you'd have
> something like
>
> ÄwineÅ
> GraphicsDriver=x11drv
>
> and Wine will load whatever is named there. This way the startup code
> doesn't need any knowledge about existing drivers.
OK, that should be fairly easy. The x11drv should be default, I guess,
since no default would break wine for everybody until they add it
to their config files.
The thing I don't like with this approach is that it will not be
possible to change driver with a command line option. Perhaps
we could add a command line option like "--graphics-driver ttydrv"
as a complement to your suggestion.
without-x.diff