aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormarkt <markt>2007-05-19 23:47:40 (GMT)
committermarkt <markt>2007-05-19 23:47:40 (GMT)
commit0d3a70ff6c19b143e716fab7ddba26363671a73d (patch)
treed82f0dea846ce5b8e76bd25ab09928e9fc0f57cb /src
parent22944ec775b5c5de0f29d0ee05f4ed303235519c (diff)
downloadfluxbox-0d3a70ff6c19b143e716fab7ddba26363671a73d.zip
fluxbox-0d3a70ff6c19b143e716fab7ddba26363671a73d.tar.bz2
don't focus new windows while typing
Diffstat (limited to 'src')
-rw-r--r--src/Window.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 4801f12..6f87913 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -545,6 +545,9 @@ void FluxboxWindow::init() {
545 } else if (m_workspace_number == screen().currentWorkspaceID()) { 545 } else if (m_workspace_number == screen().currentWorkspaceID()) {
546 iconic = true; 546 iconic = true;
547 deiconify(false); 547 deiconify(false);
548 // check if we should prevent this window from gaining focus
549 if (!allowsFocusFromClient())
550 m_focused = false;
548 } 551 }
549 552
550 sendConfigureNotify(); 553 sendConfigureNotify();