There is no HAVE_X11 macro anywhere.
And, display setting should be done system-widely
Change-Id: I4d15fb1573f0e675e453e7cd01fcd13c031a0a74
Signed-off-by: Wonguk Jeong <wonguk.jeong@samsung.com>
backend_info *ptr = NULL;
int r;
-#ifdef HAVE_X11
- // If DISPLAY is not set then let it default to :0
- // so we can remove hacks in the service file
- // to set the env variable (which will blow up wayland)
- //
- // Passing overwrite as zero so it will not clobber an
- // existing value
- setenv("DISPLAY", ":0", 0);
-#endif
-
DBG("server start");
if (argv[1]) {