From 4173de11645afe387ca1f48d915ef5dc0aaacee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 10 Sep 2013 10:59:16 +0200 Subject: [PATCH] Port remaining set input focus to XCB --- client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.cpp b/client.cpp index 235b4481c0..ac591476e2 100644 --- a/client.cpp +++ b/client.cpp @@ -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)