diff options
author | rathnor <rathnor> | 2004-03-03 12:29:31 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2004-03-03 12:29:31 (GMT) |
commit | f9fbd86c75181e6701bd93e174773a98b391382c (patch) | |
tree | 4778bbdc492deb21cc078a61748362f4c2f67e53 /src/fluxbox.cc | |
parent | bf0b194d5fe611601bb8076b7a123a631da1f3ed (diff) | |
download | fluxbox-f9fbd86c75181e6701bd93e174773a98b391382c.zip fluxbox-f9fbd86c75181e6701bd93e174773a98b391382c.tar.bz2 |
fix outline moving windows being dropped on their own workspace
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; |