reverted last change .. the problem of the user must be handled differently... never commit after 3 hours of sleep again.
mathias mathias
2 files changed,
1 insertions(+),
6 deletions(-)
M
ChangeLog
→
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/* -------------------------------------------------------------
M
src/Window.cc
→
src/Window.cc
@@ -2647,7 +2647,7 @@ // check frame events first
frame().buttonPressEvent(be); if (be.button == 1 || (be.button == 3 && be.state == Mod1Mask)) { - if ((! focused) ) { + if ((! focused) && (! screen().isMouseFocus())) { //check focus setInputFocus(); }