allow moving workspace while moving window with modifier remove the

2008-03-11  Matthew Wilson  <msw@gimp.org>

        * src/core/keybindings.c (meta_display_process_key_event, process_event,
        find_handler, process_mouse_move_resize_grab): allow moving workspace
	while moving window with modifier
        * src/core/workspace.c (meta_workspace_activate_with_focus): remove the
	correct window on jumping workspace while moving


svn path=/trunk/; revision=3649
This commit is contained in:
Matthew Wilson
2008-03-11 03:37:54 +00:00
committed by Thomas James Alexander Thurman
parent 87cceaf992
commit 9836007f5e
3 changed files with 112 additions and 116 deletions

View File

@ -315,10 +315,12 @@ meta_workspace_activate_with_focus (MetaWorkspace *workspace,
* then remove from old workspace, so the window
* never gets unmapped and we maintain the button grab
* on it.
*
* \bug This comment appears to be the reverse of what happens
*/
if (move_window && (move_window->workspace != workspace))
{
meta_workspace_remove_window (workspace, move_window);
meta_workspace_remove_window (old, move_window);
meta_workspace_add_window (workspace, move_window);
}
}