summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Window.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 8e46900..5d9404d 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -1355,10 +1355,9 @@ bool FluxboxWindow::focus() {
1355 1355
1356 bool ret = false; 1356 bool ret = false;
1357 1357
1358 if (m_client->getFocusMode() == WinClient::F_LOCALLYACTIVE || 1358 if (m_client->acceptsFocus()) {
1359 m_client->getFocusMode() == WinClient::F_PASSIVE) {
1360 1359
1361 m_client->setInputFocus(RevertToPointerRoot, CurrentTime); 1360 m_client->setInputFocus(RevertToParent, CurrentTime);
1362 1361
1363 FbTk::App *app = FbTk::App::instance(); 1362 FbTk::App *app = FbTk::App::instance();
1364 1363