diff --git a/kcmkwin/kwinrules/ruleswidget.cpp b/kcmkwin/kwinrules/ruleswidget.cpp --- a/kcmkwin/kwinrules/ruleswidget.cpp +++ b/kcmkwin/kwinrules/ruleswidget.cpp @@ -56,6 +56,8 @@ { Q_UNUSED(parent); setupUi(this); + detect->setVisible(KWindowSystem::isPlatformX11()); + detection_delay->setVisible(KWindowSystem::isPlatformX11()); QRegularExpressionValidator* validator = new QRegularExpressionValidator(QRegularExpression("[0-9\\-+,xX:]*"), this); maxsize->setValidator(validator); minsize->setValidator(validator);