summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2003-05-03 18:14:17 +0000
committerHavoc Pennington <hp@src.gnome.org>2003-05-03 18:14:17 +0000
commita7c344bbc5a8f00b68a63e0c333c0f10e8d7dede (patch)
tree7c491be52e780d91e0a2a6f75e9296a7cce86076 /src
parentf64a231620dfd492900c0cda53dced513b0cf299 (diff)
downloadmetacity-a7c344bbc5a8f00b68a63e0c333c0f10e8d7dede.tar.gz
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.
Diffstat (limited to 'src')
-rw-r--r--src/keybindings.c2
-rw-r--r--src/window.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/keybindings.c b/src/keybindings.c
index f9ce0f09..8cdecd84 100644
--- a/src/keybindings.c
+++ b/src/keybindings.c
@@ -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
{
diff --git a/src/window.c b/src/window.c
index 3aa017ae..71a59063 100644
--- a/src/window.c
+++ b/src/window.c
@@ -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);