all repos — fluxbox @ f9fbd86c75181e6701bd93e174773a98b391382c

custom fork of the fluxbox windowmanager

fix outline moving windows being dropped on their own workspace
rathnor rathnor
commit

f9fbd86c75181e6701bd93e174773a98b391382c

parent

bf0b194d5fe611601bb8076b7a123a631da1f3ed

3 files changed, 10 insertions(+), 3 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,6 +1,9 @@

(Format: Year/Month/Day) Changes for 0.9.9: *04/03/03: + * Fix outline moving dropping on source workspace made window + disappear [we now explicitly don't unfocus a moving window] (Simon) + Window.cc fluxbox.cc * Updated finnish locales for fluxbox-generate_menu (Thanks Lauri Hakkarainen) *04/03/02: * fluxbox-generate_menu changes: (Han)
M src/Window.ccsrc/Window.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Window.cc,v 1.268 2004/02/20 09:07:27 fluxgen Exp $ +// $Id: Window.cc,v 1.269 2004/03/03 12:29:31 rathnor Exp $ #include "Window.hh"

@@ -2867,6 +2867,7 @@ }

if (m_workspace_number == screen().currentWorkspaceID()) { frame().show(); + setInputFocus(); } FbTk::App::instance()->sync(false);
M src/fluxbox.ccsrc/fluxbox.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: fluxbox.cc,v 1.232 2004/02/27 12:30:17 fluxgen Exp $ +// $Id: fluxbox.cc,v 1.233 2004/03/03 12:29:31 rathnor Exp $ #include "fluxbox.hh"

@@ -966,7 +966,10 @@ if (winclient == 0 && FbTk::Menu::focused() == 0) {

#ifdef DEBUG cerr<<__FILE__<<"("<<__FUNCTION__<<") Focus out is not a FluxboxWindow !!"<<endl; #endif // DEBUG - } else if (winclient && winclient == m_focused_window) + } else if (winclient && winclient == m_focused_window && + (winclient->fbwindow() == 0 + || !winclient->fbwindow()->isMoving())) + // we don't unfocus a moving window setFocusedWindow(0); } break;