diff options
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index e6099aa..119c22c 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.232 2004/02/27 12:30:17 fluxgen Exp $ | 25 | // $Id: fluxbox.cc,v 1.233 2004/03/03 12:29:31 rathnor Exp $ |
26 | 26 | ||
27 | #include "fluxbox.hh" | 27 | #include "fluxbox.hh" |
28 | 28 | ||
@@ -966,7 +966,10 @@ void Fluxbox::handleEvent(XEvent * const e) { | |||
966 | #ifdef DEBUG | 966 | #ifdef DEBUG |
967 | cerr<<__FILE__<<"("<<__FUNCTION__<<") Focus out is not a FluxboxWindow !!"<<endl; | 967 | cerr<<__FILE__<<"("<<__FUNCTION__<<") Focus out is not a FluxboxWindow !!"<<endl; |
968 | #endif // DEBUG | 968 | #endif // DEBUG |
969 | } else if (winclient && winclient == m_focused_window) | 969 | } else if (winclient && winclient == m_focused_window && |
970 | (winclient->fbwindow() == 0 | ||
971 | || !winclient->fbwindow()->isMoving())) | ||
972 | // we don't unfocus a moving window | ||
970 | setFocusedWindow(0); | 973 | setFocusedWindow(0); |
971 | } | 974 | } |
972 | break; | 975 | break; |