summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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);