Menu

#1137 OnDesktop not working as documented

v1.4.0
closed-fixed
nobody
None
5
2016-08-27
2015-09-17
No

OnDesktop is documented as "The mouse cursor is over the desktop (root window), and not any window.", however, using something like "OnDesktop F9 :ExecCommand xrefresh" will get triggered no matter where the mouse is (e.g. even on a window).

Discussion

  • Mathias Gumz

    Mathias Gumz - 2015-09-17

    if the window/app the mouse is currently over is not taking care of the event, the next window (most likely the RootWIndow) is handling it (the eventhandler associated with the window the event occurs on).

    if your app would handle F9, your binding would not trigger on a window.

    that said: i am not sure if this is a bug or a feature :)

     
  • Christophe Kalt

    Christophe Kalt - 2015-09-18

    Herein lies the problem.. the event is always handled by fluxbox, never by any window.

    (I'd forgotten, I ran into this months ago when I submitted the fix for StrictMouseFocus)

     
  • Thomas Luebking

    Thomas Luebking - 2016-07-20
    • status: open --> pending
     
  • Thomas Luebking

    Thomas Luebking - 2016-08-27
    • status: pending --> closed-fixed
    • Group: v1.3.7 --> v1.4.0
     

Log in to post a comment.