[mutter] workspace: Don't relocate sticky windows



commit 68283df4d95a6357372e70f5a23be1f158ba582c
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Sep 30 00:09:32 2014 +0200

    workspace: Don't relocate sticky windows
    
    Windows are relocated before their workspace is removed, however this
    is only necessary for windows that are *only* on that workspace; for
    windows on all workspaces, that step is annoying as it will unset the
    sticky state requested by the user.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=737625

 src/core/workspace.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/core/workspace.c b/src/core/workspace.c
index e9e7563..4e6224e 100644
--- a/src/core/workspace.c
+++ b/src/core/workspace.c
@@ -366,7 +366,7 @@ meta_workspace_relocate_windows (MetaWorkspace *workspace,
     {
       MetaWindow *window = l->data;
 
-      if (!window->override_redirect)
+      if (!window->on_all_workspaces)
         meta_window_change_workspace (window, new_home);
     }
 


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