diff options
Diffstat (limited to 'vncviewer/vncviewer.cxx')
-rw-r--r-- | vncviewer/vncviewer.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx index 426be27b..bd3a562d 100644 --- a/vncviewer/vncviewer.cxx +++ b/vncviewer/vncviewer.cxx @@ -495,9 +495,6 @@ int main(int argc, char** argv) } for (int i = 1; i < argc;) { - if (Fl::arg(argc, argv, i)) - continue; - if (Configuration::setParam(argv[i])) { i++; continue; @@ -522,6 +519,9 @@ int main(int argc, char** argv) mkvnchomedir(); #if !defined(WIN32) && !defined(__APPLE__) + if (strcmp(display, "") != 0) { + Fl::display(display); + } fl_open_display(); XkbSetDetectableAutoRepeat(fl_display, True, NULL); #endif |