I've been tinkering around with the code of the Arc Menu Gnome Shell extension. My goal is to give it the ability to drag programs to the desktop (if the user has it enabled, of course).
The "vanilla" GNOME menu extension provides this feature and from the code it seemed simple enough to implement. Arc is partially based on this menu so it share many similarities with it.
I have imported the libraries it needs and anything else I can think of to "mimic the way the "vanilla" menu does it.
However, when I drag icons they will drag, but not release. This is progress but definitely not success.
Links to the code. https://1drv.ms/f/s!Ar9u8yuRj5D8ko0Acb_GRHxWzrnGxQ
menu.js
and menuwidgets.js
are from Arc.
extension.js
is from the "vanilla" extension.
I hope I've provided enough context and someone can point me in the right direction.