     var popoverWillShowHandler: (() -> ())?
 
     init(viewController: NSViewController, image: NSImage?, alternateImage: NSImage?) {
+        //NSApp.setActivationPolicy(NSApplicationActivationPolicy.Prohibited)
         self.viewController = viewController
         
         let height = NSStatusBar.systemStatusBar().thickness

                self.popoverWillShowHandler!()
            }
            
            NSApplication.sharedApplication().activateIgnoringOtherApps(true)
            
            self.popover.animates = animated
            self.popover.contentSize = self.viewController.view.frame.size

    }
    
    override var acceptsFirstResponder: Bool { return true }

    override func acceptsFirstMouse(theEvent: NSEvent) -> Bool { return true }
    
    override func mouseDown(theEvent: NSEvent) {
        self.needsDisplay = true
