Port remaining set input focus to XCB
This commit is contained in:
parent
77edf8eb69
commit
4173de1164
1 changed files with 1 additions and 1 deletions
|
@ -1667,7 +1667,7 @@ void Client::takeFocus()
|
||||||
previous_client = this;
|
previous_client = this;
|
||||||
#endif
|
#endif
|
||||||
if (rules()->checkAcceptFocus(input))
|
if (rules()->checkAcceptFocus(input))
|
||||||
XSetInputFocus(display(), window(), RevertToPointerRoot, xTime());
|
m_client.focus();
|
||||||
else
|
else
|
||||||
demandAttention(false); // window cannot take input, at least withdraw urgency
|
demandAttention(false); // window cannot take input, at least withdraw urgency
|
||||||
if (Ptakefocus)
|
if (Ptakefocus)
|
||||||
|
|
Loading…
Reference in a new issue