Skip to content

overview: Don't expect time argument from drag-end signal

Jonas Dreßler requested to merge verdre/gnome-shell:overview-dnd into main

We actually don't get a time from the xdndHandler when it emits drag-end, so we fail right now when calling workspaceManager.get_workspace_by_index(time).

Fix it by getting the time ourselves instead.

Fun fact: Looks like this bug was introduced with the commit that created the xdndHandler in 2011, back then drag-begin had a time argument and drag-end didn't. The signal handlers in the overview expected it the other way round: ceedc7e3

Merge request reports