From 08a0479c9eaac81304ed83008896044ea7ef8cbc Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Thu, 21 Feb 2013 15:53:39 +0100 Subject: [PATCH] WorkspaceThumbnail: fix mutter warning Pass a proper timestamp to workspace activation functions https://bugzilla.gnome.org/show_bug.cgi?id=694365 --- js/ui/workspaceThumbnail.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/workspaceThumbnail.js b/js/ui/workspaceThumbnail.js index c2a415a19..dee24fa3c 100644 --- a/js/ui/workspaceThumbnail.js +++ b/js/ui/workspaceThumbnail.js @@ -590,7 +590,7 @@ const ThumbnailsBox = new Lang.Class({ let thumbnail = this._thumbnails[i] let [w, h] = thumbnail.actor.get_transformed_size(); if (y >= thumbnail.actor.y && y <= thumbnail.actor.y + h) { - thumbnail.activate(event.time); + thumbnail.activate(event.get_time()); break; } }