aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-07-21 15:26:57 (GMT)
committerrathnor <rathnor>2003-07-21 15:26:57 (GMT)
commit9932b880490d92d12bc07e60e1b7f0c59f29d0fc (patch)
tree0e1b1ccf13625e4197d563545636f34efb7db0be /src/fluxbox.cc
parent370a9d474475d708f03795665d915f314f1665fa (diff)
downloadfluxbox-9932b880490d92d12bc07e60e1b7f0c59f29d0fc.zip
fluxbox-9932b880490d92d12bc07e60e1b7f0c59f29d0fc.tar.bz2
fix focus properly
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r--src/fluxbox.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index b7a4d5b..5bf54bc 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: fluxbox.cc,v 1.172 2003/07/20 18:05:39 rathnor Exp $ 25// $Id: fluxbox.cc,v 1.173 2003/07/21 15:26:57 rathnor Exp $
26 26
27#include "fluxbox.hh" 27#include "fluxbox.hh"
28 28
@@ -1085,9 +1085,8 @@ void Fluxbox::handleClientMessage(XClientMessageEvent &ce) {
1085 1085
1086 } else if (ce.message_type == m_fbatoms->getFluxboxChangeWindowFocusAtom()) { 1086 } else if (ce.message_type == m_fbatoms->getFluxboxChangeWindowFocusAtom()) {
1087 FluxboxWindow *win = searchWindow(ce.window); 1087 FluxboxWindow *win = searchWindow(ce.window);
1088 if (win && win->isVisible() && win->setInputFocus()) { 1088 if (win && win->isVisible())
1089 win->installColormap(true); 1089 win->setInputFocus();
1090 }
1091 } else if (ce.message_type == m_fbatoms->getFluxboxCycleWindowFocusAtom()) { 1090 } else if (ce.message_type == m_fbatoms->getFluxboxCycleWindowFocusAtom()) {
1092 BScreen *screen = searchScreen(ce.window); 1091 BScreen *screen = searchScreen(ce.window);
1093 1092