bypass timer for zero delay focus requests
This commit is contained in:
parent
4040b1ae2f
commit
8b77a204ea
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue