aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-06-30 17:06:29 (GMT)
committermarkt <markt>2007-06-30 17:06:29 (GMT)
commit103b55e600aff58000ed09ff2b601daf97164167 (patch)
treeb058cb0737654556daa95a7fcace87313c3b511f /src/Window.cc
parent998b23acf220f7bfa2117f8446a4f3a179b32d0a (diff)
downloadfluxbox-103b55e600aff58000ed09ff2b601daf97164167.zip
fluxbox-103b55e600aff58000ed09ff2b601daf97164167.tar.bz2
fix support for _NET_WM_STATE_MODAL
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 8b92999..5c27c45 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -1418,11 +1418,14 @@ bool FluxboxWindow::focus() {
1418#ifdef DEBUG 1418#ifdef DEBUG
1419 cerr<<__FUNCTION__<<": transient 0x"<<(*it)<<endl; 1419 cerr<<__FUNCTION__<<": transient 0x"<<(*it)<<endl;
1420#endif // DEBUG 1420#endif // DEBUG
1421 if ((*it)->isModal()) 1421 if ((*it)->isStateModal())
1422 return (*it)->focus(); 1422 return (*it)->focus();
1423 } 1423 }
1424 } 1424 }
1425 1425
1426 if (m_client->isModal())
1427 return false;
1428
1426 bool ret = false; 1429 bool ret = false;
1427 1430
1428 if (m_client->getFocusMode() == WinClient::F_LOCALLYACTIVE || 1431 if (m_client->getFocusMode() == WinClient::F_LOCALLYACTIVE ||