diff options
-rw-r--r-- | tdm/kfrontend/kgapp.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tdm/kfrontend/kgapp.cpp b/tdm/kfrontend/kgapp.cpp index bf71e433f..9a765cb68 100644 --- a/tdm/kfrontend/kgapp.cpp +++ b/tdm/kfrontend/kgapp.cpp @@ -128,11 +128,13 @@ void GreeterApp::init() } void GreeterApp::deviceChanged(TDEGenericDevice* device) { +#ifdef WITH_XRANDR if (device->type() == TDEGenericDeviceType::Monitor) { KRandrSimpleAPI *randrsimple = new KRandrSimpleAPI(); randrsimple->applyHotplugRules(KDE_CONFDIR); delete randrsimple; } +#endif // WITH_XRANDR } void |