diff options
author | fluxgen <fluxgen> | 2004-04-19 22:46:46 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2004-04-19 22:46:46 (GMT) |
commit | 9a9f87d1ca698811134adcf2804c89c343cdba58 (patch) | |
tree | dbbfb26e0cc59f03ddfb910d0fc3ec079a8ba83a /src/FbTk/EventManager.hh | |
parent | 94100534be4d09a999ff6d7065e5fcf5364b8e99 (diff) | |
download | fluxbox_pavel-9a9f87d1ca698811134adcf2804c89c343cdba58.zip fluxbox_pavel-9a9f87d1ca698811134adcf2804c89c343cdba58.tar.bz2 |
find eventhandler
Diffstat (limited to 'src/FbTk/EventManager.hh')
-rw-r--r-- | src/FbTk/EventManager.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/FbTk/EventManager.hh b/src/FbTk/EventManager.hh index 4b693ff..049d527 100644 --- a/src/FbTk/EventManager.hh +++ b/src/FbTk/EventManager.hh | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: EventManager.hh,v 1.7 2003/12/16 17:06:49 fluxgen Exp $ | 22 | // $Id: EventManager.hh,v 1.8 2004/04/19 22:46:46 fluxgen Exp $ |
23 | 23 | ||
24 | #include "EventHandler.hh" | 24 | #include "EventHandler.hh" |
25 | #include <map> | 25 | #include <map> |
@@ -43,6 +43,8 @@ public: | |||
43 | void add(EventHandler &ev, Window win) { registerEventHandler(ev, win); } | 43 | void add(EventHandler &ev, Window win) { registerEventHandler(ev, win); } |
44 | void remove(Window win) { unregisterEventHandler(win); } | 44 | void remove(Window win) { unregisterEventHandler(win); } |
45 | 45 | ||
46 | EventHandler *find(Window win); | ||
47 | |||
46 | // Some events have the parent window as the xany.window | 48 | // Some events have the parent window as the xany.window |
47 | // This function always returns the actual window member of the event structure | 49 | // This function always returns the actual window member of the event structure |
48 | static Window getEventWindow(XEvent &ev); | 50 | static Window getEventWindow(XEvent &ev); |