|
|
@ -128,11 +128,13 @@ void GreeterApp::init()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void GreeterApp::deviceChanged(TDEGenericDevice* device) {
|
|
|
|
void GreeterApp::deviceChanged(TDEGenericDevice* device) {
|
|
|
|
|
|
|
|
#ifdef WITH_XRANDR
|
|
|
|
if (device->type() == TDEGenericDeviceType::Monitor) {
|
|
|
|
if (device->type() == TDEGenericDeviceType::Monitor) {
|
|
|
|
KRandrSimpleAPI *randrsimple = new KRandrSimpleAPI();
|
|
|
|
KRandrSimpleAPI *randrsimple = new KRandrSimpleAPI();
|
|
|
|
randrsimple->applyHotplugRules(KDE_CONFDIR);
|
|
|
|
randrsimple->applyHotplugRules(KDE_CONFDIR);
|
|
|
|
delete randrsimple;
|
|
|
|
delete randrsimple;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // WITH_XRANDR
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
void
|
|
|
|