[gnome-shell] shell-app: Only raise windows on the same workspace when activating them



commit 086fcd4a32ffff1755a8349b78516f2cb12e043c
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Jan 30 11:35:46 2015 -0500

    shell-app: Only raise windows on the same workspace when activating them
    
    For some reason, we never did this, even though this is what the comment
    says we should be doing.

 src/shell-app.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/shell-app.c b/src/shell-app.c
index 94b2951..60be100 100644
--- a/src/shell-app.c
+++ b/src/shell-app.c
@@ -582,7 +582,7 @@ shell_app_activate_window (ShellApp     *app,
         {
           MetaWindow *other_window = iter->data;
 
-          if (other_window != window)
+          if (other_window != window && meta_window_get_workspace (other_window) == workspace)
             meta_window_raise (other_window);
         }
       g_slist_free (windows_reversed);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]