From 3d80ba0c1aed3bb5fffc6d59d70a63931d0a365d Mon Sep 17 00:00:00 2001 From: fluxgen Date: Wed, 2 Jul 2003 05:27:40 +0000 Subject: minor cleaning --- src/Window.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Window.cc b/src/Window.cc index 3464112..7b14cb5 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Window.cc,v 1.200 2003/06/30 15:02:39 fluxgen Exp $ +// $Id: Window.cc,v 1.201 2003/07/02 05:27:40 fluxgen Exp $ #include "Window.hh" @@ -1065,9 +1065,9 @@ bool FluxboxWindow::setInputFocus() { return (*it)->fbwindow()->setCurrentClient(**it, true); } } else { - if (m_client->getFocusMode() == WinClient::F_LOCALLYACTIVE || m_client->getFocusMode() == WinClient::F_PASSIVE) { - XSetInputFocus(display, m_client->window(), - RevertToPointerRoot, CurrentTime); + if (m_client->getFocusMode() == WinClient::F_LOCALLYACTIVE || + m_client->getFocusMode() == WinClient::F_PASSIVE) { + m_client->setInputFocus(RevertToPointerRoot, CurrentTime); } else { return false; } -- cgit v0.11.2