 
   # Show the tab bar when a tab is being dragged in this pane when alwaysShowTabBar = false
   onPaneDragEnter: (event) ->
+    return unless isAtomTabEvent(event)
     return if @pane.getItems().length > 1 or atom.config.get('tabs.alwaysShowTabBar')
     if @paneElement.contains(event.relatedTarget)
       @element.classList.remove('hidden')
 
   # Hide the tab bar when the dragged tab leaves this pane when alwaysShowTabBar = false
   onPaneDragLeave: (event) ->
+    return unless isAtomTabEvent(event)
     return if @pane.getItems().length > 1 or atom.config.get('tabs.alwaysShowTabBar')
     unless @paneElement.contains(event.relatedTarget)
       @element.classList.add('hidden')


  onDragOver: (event) ->
    event.preventDefault()
    unless isAtomEvent(event)
      event.stopPropagation()
      return


    return unless @draggedTab
    @lastDropTargetIndex = null

    event.dataTransfer.setData 'atom-tab-event', 'true'

    @draggedTab.element.classList.add('is-dragging')
    @draggedTab.destroyTooltip()
