workspaceThumbnails: Really fix DND creating new workspaces
The same problem spotted in commit 89a2dc71fc
is present in
some more places, fix those as well.
https://bugzilla.gnome.org/show_bug.cgi?id=724686
This commit is contained in:
parent
b494c15e4b
commit
f4607626e4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user