 
       inline @elements.workspace,'background:'+newColor+' !important;'
 
-      if conf.boxDepth==0
-        inline @elements.bg,'-webkit-filter: blur('+conf.blurRadius+'px)'
-      else
-        inline @elements.bg,'-webkit-filter: blur(0px)'
+      @blurImage()
 
       if conf.treeViewOpacity > 0
         inline @elements.treeView,'background:'+newTreeRGBA+' !important;'


  mouseMove: (ev) ->
    conf=atom.config.get('editor-background')
    @mouseX=ev.pageX
    @mouseY=ev.pageY
    if conf.boxDepth>0 then @updateBox() else @updateBgPos()


  activateMouseMove: ->

    blurRadius:
      type:"integer"
      description:"0 = none"
      default:0
      minimim:0
      maximum: 80

