diff options
Diffstat (limited to 'src/Window.cc')
-rw-r--r-- | src/Window.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc index 1c839f6..b44f9f7 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -1372,11 +1372,14 @@ bool FluxboxWindow::setInputFocus() { | |||
1372 | #ifdef DEBUG | 1372 | #ifdef DEBUG |
1373 | cerr<<__FUNCTION__<<": transient 0x"<<(*it)<<endl; | 1373 | cerr<<__FUNCTION__<<": transient 0x"<<(*it)<<endl; |
1374 | #endif // DEBUG | 1374 | #endif // DEBUG |
1375 | if ((*it)->isModal()) | 1375 | if ((*it)->isStateModal()) |
1376 | return (*it)->focus(); | 1376 | return (*it)->focus(); |
1377 | } | 1377 | } |
1378 | } | 1378 | } |
1379 | 1379 | ||
1380 | if (m_client->isModal()) | ||
1381 | return false; | ||
1382 | |||
1380 | bool ret = false; | 1383 | bool ret = false; |
1381 | 1384 | ||
1382 | if (m_client->getFocusMode() == WinClient::F_LOCALLYACTIVE || | 1385 | if (m_client->getFocusMode() == WinClient::F_LOCALLYACTIVE || |