all repos — fluxbox @ 70b945f0db0d2aa9882da67216556478e398de5d

custom fork of the fluxbox windowmanager

assuming passive
fluxgen fluxgen
commit

70b945f0db0d2aa9882da67216556478e398de5d

parent

c498f16355ca4effe6ac956d57b38237b32f8831

1 files changed, 3 insertions(+), 9 deletions(-)

jump to
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.34 2003/12/21 13:31:12 fluxgen Exp $ +// $Id: WinClient.cc,v 1.35 2003/12/21 13:57:38 fluxgen Exp $ #include "WinClient.hh"

@@ -412,14 +412,8 @@ m_focus_mode = F_GLOBALLYACTIVE;

else m_focus_mode = F_NOINPUT; } - } else { // not present => assuming False. - // note that mozilla has no value, and has send_focus - // and requires globally active - if (send_focus_message) - m_focus_mode = F_GLOBALLYACTIVE; - else // lots of apps have no hint, but need focus - m_focus_mode = F_PASSIVE; - } + } else // InputHint not present: ignoring send_focus_message and assuming F_PASSIVE + m_focus_mode = F_PASSIVE; if (wmhint->flags & StateHint) initial_state = wmhint->initial_state;