mzur / gnome-shell-wsmatrix

GNOME shell extension to arrange workspaces in a two-dimensional grid with workspace thumbnails
GNU General Public License v3.0
464 stars 59 forks source link

Gnome 3.38 fix DnD from current workspace (activity overview) to a workspace thumbnail #147

Closed gowza closed 3 years ago

gowza commented 3 years ago

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 to source.realWindow always return undefined when dragging a window in activity overview to a workspace thumbnail.

Changes: