diff --git a/client.cpp b/client.cpp index a6fbf3ea92..d38388747d 100644 --- a/client.cpp +++ b/client.cpp @@ -1548,8 +1548,10 @@ void Client::takeFocus() m_client.focus(); else demandAttention(false); // window cannot take input, at least withdraw urgency - if (info->supportsProtocol(NET::TakeFocusProtocol)) + if (info->supportsProtocol(NET::TakeFocusProtocol)) { + updateXTime(); sendClientMessage(window(), atoms->wm_protocols, atoms->wm_take_focus); + } workspace()->setShouldGetFocus(this); }