Re: wineconsole: command line option output / configurable default backend
Ekkehard Morgenstern <ekkehard.morgenstern(a)onlinehome.de> writes:
This patch is akin to the previously posted; however, instead of making the user backend the default, I read an environment variable WINECONBACKEND to determine the default.
I don't think that's an improvement, please let's not add more obscure environment variables. You should try to use the user backend when the X display is available and fall back to curses otherwise. -- Alexandre Julliard julliard(a)winehq.org
Alexandre Julliard wrote:
I don't think that's an improvement, please let's not add more obscure environment variables. You should try to use the user backend when the X display is available and fall back to curses otherwise.
How should I check if the X Display is available? The DISPLAY environment variable doesn't suffice for that. It might be set, but the connection might be unavailable anyway. Or some user that doesn't have X Windows might use the DISPLAY variable for something else. Not a good idea IMO.
Ekkehard Morgenstern <ekkehard.morgenstern(a)onlinehome.de> writes:
How should I check if the X Display is available?
Try to create the console window, it should fail if X is not available. -- Alexandre Julliard julliard(a)winehq.org
participants (2)
-
Alexandre Julliard -
Ekkehard Morgenstern