diff --git a/src/dlangui/platforms/x11/x11app.d b/src/dlangui/platforms/x11/x11app.d index 019b5d8f..a5c01e62 100644 --- a/src/dlangui/platforms/x11/x11app.d +++ b/src/dlangui/platforms/x11/x11app.d @@ -1542,6 +1542,13 @@ class X11Platform : Platform { w.requestLayout(); } } + + /// handle theme change: e.g. reload some themed resources + override void onThemeChanged() { + foreach(w; _windowMap) + w.dispatchThemeChanged(); + } + } import core.thread;