----- Ursprüngliche Mail ----- > > > wrapper.cpp assumes there is a DISPLAY env variable and even if not it's > > > set to ":0". > > > > Can't we detect that we're not on X11 simply from the fact that DISPLAY is > > not set? > > No that doesn't work as I expect that at least during the next decade we will > have both WAYLAND_DISPLAY and DISPLAY being set (DISPLAY for legacy > applications which won't have a Wayland port any time soon - e.g. Qt4). Hi,
wouldn't be then the assumption: "if WAYLAND_DISPLAY is defined, use wayland, else use X11" work? Or would it make any sense to have that defined (in a normal user desktop) but still use X11 as default? Greetings Christoph -- ----------------------------- Dr.-Ing. Christoph Cullmann --------- AbsInt Angewandte Informatik GmbH Email: cullm...@absint.com Science Park 1 Tel: +49-681-38360-22 66123 Saarbrücken Fax: +49-681-38360-20 GERMANY WWW: http://www.AbsInt.com -------------------------------------------------------------------- Geschäftsführung: Dr.-Ing. Christian Ferdinand Eingetragen im Handelsregister des Amtsgerichts Saarbrücken, HRB 11234 _______________________________________________ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel