Port remaining set input focus to XCB

This commit is contained in:
Martin Gräßlin 2013-09-10 10:59:16 +02:00
parent 77edf8eb69
commit 4173de1164

View file

@ -1667,7 +1667,7 @@ void Client::takeFocus()
previous_client = this;
#endif
if (rules()->checkAcceptFocus(input))
XSetInputFocus(display(), window(), RevertToPointerRoot, xTime());
m_client.focus();
else
demandAttention(false); // window cannot take input, at least withdraw urgency
if (Ptakefocus)