On Jul 20, 2007, at 12:07 AM, Sanel Zukan wrote: > Matt, as you know, there is no way to report > fltk events (FL_PUSH) via Fl::grab() clicking on borders of window > manager.
That is correct. FLTK does not know anything about window decorations except asking the OS politely to have them or not. > As sample: can you > receive running Mozilla/fluid events inside your application ? No, you can not under normal circumstances. The underlying OS tries hard to keep rouge applications from stealing events from other apps or from listening into events. So unless another application provides some kind of interface, it will be difficult to receive events from it. Fl::grab() has the purpose of reacting to a mouse-down event and to then keep receiving mouse and keyboard events until the mouse button is released again, even if the mouse is dragged outside of the window rectangle. It is not meant to take over the entire screen. There are other interfaces on system level that do this, but they are quite different on each OS and may involve interfacing on driver level. VNC software does this kind of hacking (and since a lot of these are open source, they are a wealth of information). Now plugins for browsers like Mozilla are a whole other story. They do have specific APIs and they also tunnel events through to the plugin window's xid. > >> Do you disagree? > > For me looks much better to mail person from you are expecting > answer or > title post with "[XY can you answer me]" instead to repost questions > testing truth of given answers :-P. I am sorry if this was a misleading. I am normally reading these threads in my EMail program, not a news reader. As a result, I have no overview of the hierarchy of EMails, just a list. I assume that the OP reads all EMails in the thread anyways, so I skip writing headers like "This is meant to go to the OP only" and "This is a reply to the above quote only". Just like in this mail, I try to explain what's going on inside FLTK. Nothing more and nothing less. ---- http://robowerk.com/ _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

