gnome/extensions/workspaces-to-dock@passingthru67.gmail.com/myWorkspaceThumbnail.js
// Draggable target interface used only by ThumbnailsBox
Draggable target interface used only by ThumbnailsBox
Draggable target interface used only by ThumbnailsBox
handleDragOverInternal(source, actor, time) {
        if (source == Main.xdndHandler) {
            this.metaWorkspace.activate(time);
            return DND.DragMotionResult.CONTINUE;
        }
        if (this.state > ThumbnailState.NORMAL)
            return DND.DragMotionResult.CONTINUE;
        if (source.realWindow && !this._isMyWindow(source.realWindow))
            return DND.DragMotionResult.MOVE_DROP;
        if (source._caption && !this._isMyWindow(source._metaWin, true))
            return DND.DragMotionResult.MOVE_DROP;
        if (source.app && source.app.can_open_new_window())
            return DND.DragMotionResult.COPY_DROP;
        if (!source.app && source.shellWorkspaceLaunch)
            return DND.DragMotionResult.COPY_DROP;
        return DND.DragMotionResult.CONTINUE;
    }
handleDragOverInternal ( source , actor , time ) { if ( source == Main . xdndHandler ) { this . metaWorkspace . activate ( time ) ; return DND . DragMotionResult . CONTINUE ; } if ( this . state > ThumbnailState . NORMAL ) return DND . DragMotionResult . CONTINUE ; if ( source . realWindow && ! this . _isMyWindow ( source . realWindow ) ) return DND . DragMotionResult . MOVE_DROP ; if ( source . _caption && ! this . _isMyWindow ( source . _metaWin , true ) ) return DND . DragMotionResult . MOVE_DROP ; if ( source . app && source . app . can_open_new_window ( ) ) return DND . DragMotionResult . COPY_DROP ; if ( ! source . app && source . shellWorkspaceLaunch ) return DND . DragMotionResult . COPY_DROP ; return DND . DragMotionResult . CONTINUE ; }
Draggable target interface used only by ThumbnailsBox
Draggable target interface used only by ThumbnailsBox