diff --git a/workspace.cpp b/workspace.cpp index 3c67ae6085..fb1496866e 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -1831,6 +1831,10 @@ void Workspace::delayFocus() void Workspace::requestDelayFocus(Client* c) { + if (!options->delayFocusInterval) { + QMetaObject::invokeMethod(this, "delayFocus", Qt::QueuedConnection); + return; + } delayfocus_client = c; delete delayFocusTimer; delayFocusTimer = new QTimer(this);