Is it possible to get an event when window not in Focus?

Using GLFW
  • Hi there
    Using GLFW is there a way to get an event when the mouse is over a GLFW window with mouse button pressed even when the window is not in focus?

    When you upload a video at vimeo for example, you can just drag a file onto the window and even before you drop the file the vimeo site shows a transparent gray indicating that there is a drag and drop file over the window (this works also when the window is not in focus).
    Is this possible with an GLFW window (on OSX)?Has anyone tried this yet.

    It would be great to have a feature, where before you drop something onto the window, to already have feedback for the user (when he holds a file over the window).


  • I guess the event I am looking for is called dragEnter event. Has anyone experience with that?