summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-08-10 17:17:58 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-08-10 17:17:58 +0000
commit154e38e71ee73d06c9e10d4eff43622ecdc6eb94 (patch)
tree4377ae6d512453856dc69c5a56efd1ee3b172e13 /src
parent7179d77d0c6644f7c55d39e66495a94eb5b066db (diff)
downloadmetacity-154e38e71ee73d06c9e10d4eff43622ecdc6eb94.tar.gz
metacity-154e38e71ee73d06c9e10d4eff43622ecdc6eb94.tar.bz2
raise window when moving to another workspace bug #88896
2002-08-10 Havoc Pennington <hp@pobox.com> * src/window.c (menu_callback): raise window when moving to another workspace bug #88896 * src/keybindings.c (switch_to_workspace): raise window when moving between spaces
Diffstat (limited to 'src')
-rw-r--r--src/keybindings.c1
-rw-r--r--src/window.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/keybindings.c b/src/keybindings.c
index b128fdc..2f3e1a1 100644
--- a/src/keybindings.c
+++ b/src/keybindings.c
@@ -2013,6 +2013,7 @@ switch_to_workspace (MetaDisplay *display,
{
/* Removes window from other spaces */
meta_window_change_workspace (move_window, workspace);
+ meta_window_raise (move_window);
}
}
diff --git a/src/window.c b/src/window.c
index 72aeb34..2a3b924 100644
--- a/src/window.c
+++ b/src/window.c
@@ -5679,6 +5679,7 @@ menu_callback (MetaWindowMenu *menu,
meta_window_change_workspace (window,
workspace);
meta_workspace_activate (workspace);
+ meta_window_raise (window);
}
else
meta_warning ("Workspace %d doesn't exist\n", workspace_index);