aboutsummaryrefslogtreecommitdiff
path: root/src/WinClient.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-12-15 11:55:58 (GMT)
committerrathnor <rathnor>2003-12-15 11:55:58 (GMT)
commit907c2d2aaacae89a65ac1afb84ab88b10870e2e8 (patch)
treedc3ffa07a2370c3e0e23610c6e2d0b8ae2a4cda2 /src/WinClient.cc
parentbaeacf877fd4d9136a2cbc86b4c8f679727fd4b4 (diff)
downloadfluxbox_pavel-907c2d2aaacae89a65ac1afb84ab88b10870e2e8.zip
fluxbox_pavel-907c2d2aaacae89a65ac1afb84ab88b10870e2e8.tar.bz2
fix mozilla focus issue
Diffstat (limited to 'src/WinClient.cc')
-rw-r--r--src/WinClient.cc13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/WinClient.cc b/src/WinClient.cc
index 8e378bf..4dae403 100644
--- a/src/WinClient.cc
+++ b/src/WinClient.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: WinClient.cc,v 1.31 2003/12/04 21:31:02 fluxgen Exp $ 22// $Id: WinClient.cc,v 1.32 2003/12/15 11:55:58 rathnor Exp $
23 23
24#include "WinClient.hh" 24#include "WinClient.hh"
25 25
@@ -63,12 +63,12 @@ WinClient::WinClient(Window win, BScreen &screen, FluxboxWindow *fbwin):FbTk::Fb
63 m_focus_mode(F_PASSIVE), 63 m_focus_mode(F_PASSIVE),
64 m_diesig(*this), m_screen(screen), 64 m_diesig(*this), m_screen(screen),
65 m_strut(0) { 65 m_strut(0) {
66 updateWMProtocols();
66 updateBlackboxHints(); 67 updateBlackboxHints();
67 updateMWMHints(); 68 updateMWMHints();
68 updateWMHints(); 69 updateWMHints();
69 updateWMNormalHints(); 70 updateWMNormalHints();
70 updateWMClassHint(); 71 updateWMClassHint();
71 updateWMProtocols();
72 updateTitle(); 72 updateTitle();
73 updateIconTitle(); 73 updateIconTitle();
74 Fluxbox::instance()->saveWindowSearch(win, this); 74 Fluxbox::instance()->saveWindowSearch(win, this);
@@ -398,8 +398,13 @@ void WinClient::updateWMHints() {
398 else 398 else
399 m_focus_mode = F_NOINPUT; 399 m_focus_mode = F_NOINPUT;
400 } 400 }
401 } else 401 } else // not present => false (check?).
402 m_focus_mode = F_PASSIVE; 402 // note that mozilla has no value, and has send_focus
403 // and requires globally active
404 if (send_focus_message)
405 m_focus_mode = F_GLOBALLYACTIVE;
406 else
407 m_focus_mode = F_NOINPUT;
403 408
404 if (wmhint->flags & StateHint) 409 if (wmhint->flags & StateHint)
405 initial_state = wmhint->initial_state; 410 initial_state = wmhint->initial_state;