when moving window to another workspace, don't switch to that workspace.

2003-05-03  Havoc Pennington  <hp@pobox.com>

	* src/keybindings.c (handle_move_to_workspace): when moving
	window to another workspace, don't switch to that workspace.

	* src/window.c (menu_callback): when moving window to another
	workspace, don't switch to that workspace.
This commit is contained in:
Havoc Pennington 2003-05-03 18:14:17 +00:00 committed by Havoc Pennington
parent f64a231620
commit a7c344bbc5
3 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2003-05-03 Havoc Pennington <hp@pobox.com>
* src/keybindings.c (handle_move_to_workspace): when moving
window to another workspace, don't switch to that workspace.
* src/window.c (menu_callback): when moving window to another
workspace, don't switch to that workspace.
2003-05-03 Havoc Pennington <hp@pobox.com>
* configure.in: 2.5.1

View File

@ -3012,7 +3012,9 @@ handle_move_to_workspace (MetaDisplay *display,
{
/* Activate second, so the window is never unmapped */
meta_window_change_workspace (window, workspace);
#if 0
meta_workspace_activate (workspace);
#endif
}
else
{

View File

@ -5435,10 +5435,12 @@ menu_callback (MetaWindowMenu *menu,
if (workspace)
{
meta_workspace_activate (workspace);
meta_window_change_workspace (window,
workspace);
#if 0
meta_workspace_activate (workspace);
meta_window_raise (window);
#endif
}
else
meta_warning ("Workspace %d doesn't exist\n", workspace_index);