   className: "window-container"
 
   events: 
-    'click .close-window'        : 'closeWindow'
-    'mousedown .window-controls' : 'startDrag'
-    'mouseup'                    : 'endDrag'
-    'click .toggle-settings'     : 'toggleSettings'
-    'mousedown .window'          : 'updateSize'
-    'mouseup .window'            : 'resizeCheck'
+    'click .close-window'      : 'closeWindow'
+    'mousedown .window-title'  : 'startDrag'
+    'mouseup'                  : 'endDrag'
+    'click .toggle-settings'   : 'toggleSettings'
+    'mousedown .window'        : 'updateSize'
+    'mouseup .window'          : 'resizeCheck'
 
   elements:
     '.window' : 'window'

      @tool.start()

  startDrag: (e) =>
    $('body').addClass 'unselectable'
    elWidth = @el.outerWidth()
    elHeight = @el.outerHeight()

    console.log e

  # Helper functions
  getToolCount: =>
    $(".#{@className}").length

  generatePosition: ->
    doc_width = $(document).width()
    doc_height = $(document).height()
