diff --git a/kcmkwin/kwinrules/ruleswidget.cpp b/kcmkwin/kwinrules/ruleswidget.cpp index b6765da9a8..c10d66b4b1 100644 --- a/kcmkwin/kwinrules/ruleswidget.cpp +++ b/kcmkwin/kwinrules/ruleswidget.cpp @@ -56,6 +56,8 @@ RulesWidget::RulesWidget(QWidget* parent) { 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);