fix mozilla focus issue

This commit is contained in:
rathnor 2003-12-15 11:55:58 +00:00
parent baeacf877f
commit 907c2d2aaa
2 changed files with 13 additions and 4 deletions

View file

@ -1,5 +1,9 @@
(Format: Year/Month/Day)
Changes for 0.9.7:
*03/12/15:
* Fix mozilla focus issue (Simon)
- When input focus hint not present assume false rather than true
WinClient.cc
*03/12/13:
* Moving client to drop zone when drag'n'drop to root window (Henrik)
Window.cc

View file

@ -19,7 +19,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
// $Id: WinClient.cc,v 1.31 2003/12/04 21:31:02 fluxgen Exp $
// $Id: WinClient.cc,v 1.32 2003/12/15 11:55:58 rathnor Exp $
#include "WinClient.hh"
@ -63,12 +63,12 @@ WinClient::WinClient(Window win, BScreen &screen, FluxboxWindow *fbwin):FbTk::Fb
m_focus_mode(F_PASSIVE),
m_diesig(*this), m_screen(screen),
m_strut(0) {
updateWMProtocols();
updateBlackboxHints();
updateMWMHints();
updateWMHints();
updateWMNormalHints();
updateWMClassHint();
updateWMProtocols();
updateTitle();
updateIconTitle();
Fluxbox::instance()->saveWindowSearch(win, this);
@ -398,8 +398,13 @@ void WinClient::updateWMHints() {
else
m_focus_mode = F_NOINPUT;
}
} else
m_focus_mode = F_PASSIVE;
} else // not present => false (check?).
// note that mozilla has no value, and has send_focus
// and requires globally active
if (send_focus_message)
m_focus_mode = F_GLOBALLYACTIVE;
else
m_focus_mode = F_NOINPUT;
if (wmhint->flags & StateHint)
initial_state = wmhint->initial_state;