all repos — fluxbox @ 907c2d2aaacae89a65ac1afb84ab88b10870e2e8

custom fork of the fluxbox windowmanager

fix mozilla focus issue
rathnor rathnor
commit

907c2d2aaacae89a65ac1afb84ab88b10870e2e8

parent

baeacf877fd4d9136a2cbc86b4c8f679727fd4b4

2 files changed, 13 insertions(+), 4 deletions(-)

jump to
M ChangeLogChangeLog

@@ -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
M src/WinClient.ccsrc/WinClient.cc

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// 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 @@ m_mwm_hint(0),

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 @@ m_focus_mode = F_GLOBALLYACTIVE;

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;