[gnome-shell] workspaceThumbnails: Really fix DND creating new workspaces
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] workspaceThumbnails: Really fix DND creating new workspaces
- Date: Sat, 22 Feb 2014 23:30:28 +0000 (UTC)
commit f4607626e40b97500f18bbe719952d4c58fef83a
Author: Florian Müllner <fmuellner gnome org>
Date: Sun Feb 23 00:10:50 2014 +0100
workspaceThumbnails: Really fix DND creating new workspaces
The same problem spotted in commit 89a2dc71fc1ed is present in
some more places, fix those as well.
https://bugzilla.gnome.org/show_bug.cgi?id=724686
js/ui/workspaceThumbnail.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/workspaceThumbnail.js b/js/ui/workspaceThumbnail.js
index 913ed23..25469e3 100644
--- a/js/ui/workspaceThumbnail.js
+++ b/js/ui/workspaceThumbnail.js
@@ -812,9 +812,9 @@ const ThumbnailsBox = new Lang.Class({
return false;
if (isWindow)
- return window.get_workspace() >= newWorkspaceIndex && winActor != source;
+ return window.get_workspace().index() >= newWorkspaceIndex && winActor != source;
else
- return window.get_workspace() >= newWorkspaceIndex;
+ return window.get_workspace().index() >= newWorkspaceIndex;
});
this._spliceIndex = newWorkspaceIndex;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]