[mutter] workspace: Don't try to move O-R windows when relocating workspaces



commit e1acb69cf17fedad7be60080752d73797e536dc8
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Aug 25 09:00:00 2014 -0400

    workspace: Don't try to move O-R windows when relocating workspaces
    
    All we'll get for it is spam.

 src/core/workspace.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/core/workspace.c b/src/core/workspace.c
index d55593c..9b2eeba 100644
--- a/src/core/workspace.c
+++ b/src/core/workspace.c
@@ -357,7 +357,9 @@ meta_workspace_relocate_windows (MetaWorkspace *workspace,
   for (l = copy; l != NULL; l = l->next)
     {
       MetaWindow *window = l->data;
-      meta_window_change_workspace (window, new_home);
+
+      if (!window->override_redirect)
+        meta_window_change_workspace (window, new_home);
     }
 
   g_list_free (copy);


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