DnD of a window at the center of the activity overview (a window from the current workspace) to a workspace thumbnail does not work in Gnome 3.38. The checking logic to see if the DnD is in progress (returning DND.DragMotionResult.CONTINUE) returns false positive, due to source.realWindow always return undefined when dragging a window in activity overview to a workspace thumbnail.
This PR is to address https://github.com/mzur/gnome-shell-wsmatrix/issues/143.
DnD of a window at the center of the activity overview (a window from the current workspace) to a workspace thumbnail does not work in Gnome 3.38. The checking logic to see if the DnD is in progress (returning
DND.DragMotionResult.CONTINUE
) returns false positive, due tosource.realWindow
always returnundefined
when dragging a window in activity overview to a workspace thumbnail.Changes:
handleDragOver()
from checkingsource.realWindow
tosource.metaWindow
. This is inline withgnome-shell
upstream change (https://github.com/GNOME/gnome-shell/commit/46600740fedd6da7344d4693fb8b0721ef063d0c),