[mutter] window: Remove duplicated code
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] window: Remove duplicated code
- Date: Thu, 23 Jul 2015 11:02:43 +0000 (UTC)
commit 0a9511b24b113617f67f1868811279ec7070331e
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Jun 25 16:46:17 2015 +0200
window: Remove duplicated code
meta_window_change_workspace_without_transients() already does
exactly that.
src/core/window.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index 71777aa..aded3f0 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -4615,12 +4615,7 @@ meta_window_change_workspace_by_index (MetaWindow *window,
workspace = meta_screen_append_new_workspace (screen, FALSE, CurrentTime);
if (workspace)
- {
- if (window->on_all_workspaces_requested)
- meta_window_unstick (window);
-
- meta_window_change_workspace (window, workspace);
- }
+ meta_window_change_workspace (window, workspace);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]