assuming passive
This commit is contained in:
parent
c498f16355
commit
70b945f0db
1 changed files with 3 additions and 9 deletions
|
@ -19,7 +19,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// 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"
|
#include "WinClient.hh"
|
||||||
|
|
||||||
|
@ -412,14 +412,8 @@ void WinClient::updateWMHints() {
|
||||||
else
|
else
|
||||||
m_focus_mode = F_NOINPUT;
|
m_focus_mode = F_NOINPUT;
|
||||||
}
|
}
|
||||||
} else { // not present => assuming False.
|
} else // InputHint not present: ignoring send_focus_message and assuming F_PASSIVE
|
||||||
// note that mozilla has no value, and has send_focus
|
m_focus_mode = F_PASSIVE;
|
||||||
// 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;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (wmhint->flags & StateHint)
|
if (wmhint->flags & StateHint)
|
||||||
initial_state = wmhint->initial_state;
|
initial_state = wmhint->initial_state;
|
||||||
|
|
Loading…
Reference in a new issue