diff options
author | Alexander Golubev <fatzer2@gmail.com> | 2013-08-01 19:02:44 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2013-08-01 19:02:44 -0500 |
commit | c70d52a51432c73443a65ddb3e18636e70c8f1e2 (patch) | |
tree | 67fe85375e3284c069c86339e78b32561b8aa5ac | |
parent | 5210484c85b7258ae28d2d551839de96e848cf2c (diff) | |
download | tdebase-c70d52a51432c73443a65ddb3e18636e70c8f1e2.tar.gz tdebase-c70d52a51432c73443a65ddb3e18636e70c8f1e2.zip |
Fix TDM FTBFS with -DWITH_XRANDR=OFF.
This resolves bug report 1582.
-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 |