From 15c21ed267ae56087cfb1d5dd41c20012727d29d Mon Sep 17 00:00:00 2001 From: mathias Date: Fri, 16 Sep 2005 15:20:26 +0000 Subject: reverted last change .. the problem of the user must be handled differently... never commit after 3 hours of sleep again. --- ChangeLog | 5 ----- src/Window.cc | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 60d67e7..6327e7f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,10 +1,5 @@ (Format: Year/Month/Day) Changes for 0.9.15: - * Click of LeftMouseButton should always setInputFocus (thanx Eike von Seggern) - solves problem with focus changes via key and then not beeing - able to focus the window underneath the mouse with a simple - click in MouseFocus mode - src/Window.cc * Use fbsetroot in Default-Styles (Mathias) data/styles/* ------------------------------------------------------------- diff --git a/src/Window.cc b/src/Window.cc index 9485a29..35794ef 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -2647,7 +2647,7 @@ void FluxboxWindow::buttonPressEvent(XButtonEvent &be) { frame().buttonPressEvent(be); if (be.button == 1 || (be.button == 3 && be.state == Mod1Mask)) { - if ((! focused) ) { + if ((! focused) && (! screen().isMouseFocus())) { //check focus setInputFocus(); } -- cgit v0.11.2