summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/WinClient.cc12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/WinClient.cc b/src/WinClient.cc
index 69260a8..a3761f4 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.34 2003/12/21 13:31:12 fluxgen Exp $ 22// $Id: WinClient.cc,v 1.35 2003/12/21 13:57:38 fluxgen Exp $
23 23
24#include "WinClient.hh" 24#include "WinClient.hh"
25 25
@@ -412,14 +412,8 @@ void WinClient::updateWMHints() {
412 else 412 else
413 m_focus_mode = F_NOINPUT; 413 m_focus_mode = F_NOINPUT;
414 } 414 }
415 } else { // not present => assuming False. 415 } else // InputHint not present: ignoring send_focus_message and assuming F_PASSIVE
416 // note that mozilla has no value, and has send_focus 416 m_focus_mode = F_PASSIVE;
417 // and requires globally active
418 if (send_focus_message)
419 m_focus_mode = F_GLOBALLYACTIVE;
420 else // lots of apps have no hint, but need focus
421 m_focus_mode = F_PASSIVE;
422 }
423 417
424 if (wmhint->flags & StateHint) 418 if (wmhint->flags & StateHint)
425 initial_state = wmhint->initial_state; 419 initial_state = wmhint->initial_state;