[mutter] default plugin: Fix workspace switch type error
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] default plugin: Fix workspace switch type error
- Date: Mon, 3 Feb 2014 22:33:05 +0000 (UTC)
commit ce99362094fb284d603cc3320ddd515a89e6bac8
Author: Jonas Ådahl <jadahl gmail com>
Date: Mon Feb 3 23:00:12 2014 +0100
default plugin: Fix workspace switch type error
Signed-off-by: Jonas Ådahl <jadahl gmail com>
https://bugzilla.gnome.org/show_bug.cgi?id=723563
src/compositor/plugins/default.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/compositor/plugins/default.c b/src/compositor/plugins/default.c
index 3481398..2e87cf9 100644
--- a/src/compositor/plugins/default.c
+++ b/src/compositor/plugins/default.c
@@ -408,9 +408,11 @@ switch_workspace (MetaPlugin *plugin,
MetaWindowActor *window_actor = l->data;
ActorPrivate *apriv = get_actor_private (window_actor);
ClutterActor *actor = CLUTTER_ACTOR (window_actor);
+ MetaWorkspace *workspace;
gint win_workspace;
- win_workspace = meta_window_get_workspace (meta_window_actor_get_meta_window (window_actor));
+ workspace = meta_window_get_workspace (meta_window_actor_get_meta_window (window_actor));
+ win_workspace = meta_workspace_index (workspace);
if (win_workspace == to || win_workspace == from)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]