diff options
author | Elijah Newren <newren@gmail.com> | 2005-10-08 23:22:16 +0000 |
---|---|---|
committer | Elijah Newren <newren@src.gnome.org> | 2005-10-08 23:22:16 +0000 |
commit | 9f4226ea2365251b55926be0f14b6fdd7cfb3317 (patch) | |
tree | 38b755fe49a986807358687ec10718115d8da891 /src | |
parent | 26dbf9856b19c7a1bb037a009022f208180e3dde (diff) | |
download | metacity-9f4226ea2365251b55926be0f14b6fdd7cfb3317.tar.gz |
Fix a crash that occurs when removing some virtual desktops and windows
2005-10-08 Elijah Newren <newren@gmail.com>
Fix a crash that occurs when removing some virtual desktops and
windows happen to be on those desktops. #318306.
* src/workspace.c (meta_workspace_relocate_windows): Since windows
cannot be on more than one workspace at a time, remove the window
from the old workspace before adding it to the new one.
Diffstat (limited to 'src')
-rw-r--r-- | src/workspace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/workspace.c b/src/workspace.c index 6c158366..1769c340 100644 --- a/src/workspace.c +++ b/src/workspace.c @@ -236,8 +236,8 @@ meta_workspace_relocate_windows (MetaWorkspace *workspace, { MetaWindow *window = tmp->data; - meta_workspace_add_window (new_home, window); meta_workspace_remove_window (workspace, window); + meta_workspace_add_window (new_home, window); tmp = tmp->next; } |