aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r--src/fluxbox.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index ef747e6..352caf0 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -916,7 +916,8 @@ void Fluxbox::handleEvent(XEvent * const e) {
916#ifdef DEBUG 916#ifdef DEBUG
917 cerr<<__FILE__<<"("<<__FUNCTION__<<") Focus out is not a FluxboxWindow !!"<<endl; 917 cerr<<__FILE__<<"("<<__FUNCTION__<<") Focus out is not a FluxboxWindow !!"<<endl;
918#endif // DEBUG 918#endif // DEBUG
919 } else if (winclient && winclient == FocusControl::focusedWindow() && 919 } else if (winclient && (winclient == FocusControl::focusedWindow() ||
920 FocusControl::focusedWindow() == 0) &&
920 (winclient->fbwindow() == 0 921 (winclient->fbwindow() == 0
921 || !winclient->fbwindow()->isMoving())) { 922 || !winclient->fbwindow()->isMoving())) {
922 // we don't unfocus a moving window 923 // we don't unfocus a moving window