summaryrefslogtreecommitdiff
path: root/src/dillo.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dillo.cc')
-rw-r--r--src/dillo.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dillo.cc b/src/dillo.cc
index 80053d02..b05cb16a 100644
--- a/src/dillo.cc
+++ b/src/dillo.cc
@@ -365,6 +365,8 @@ int main(int argc, char **argv)
// Sets WM_CLASS hint on X11
Fl_Window::default_xclass("dillo");
+ Fl::scheme(prefs.theme);
+
if (!prefs.show_tooltip) {
// turn off UI tooltips
Fl::option(Fl::OPTION_SHOW_TOOLTIPS, false);
@@ -393,9 +395,6 @@ int main(int argc, char **argv)
*/
((Fl_Widget *)bw->ui)->window()->make_current();
- /* Use FLTK_SCHEME environment variable, or X11 resource */
- Fl::scheme(NULL);
-
/* Proxy authentication */
if (prefs.http_proxyuser && !a_Http_proxy_auth()) {
const char *passwd = a_UIcmd_get_passwd(prefs.http_proxyuser);