diff options
Diffstat (limited to 'src/FbTk/EventManager.cc')
-rw-r--r-- | src/FbTk/EventManager.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/FbTk/EventManager.cc b/src/FbTk/EventManager.cc index 6c697e6..9a11ab2 100644 --- a/src/FbTk/EventManager.cc +++ b/src/FbTk/EventManager.cc | |||
@@ -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.cc,v 1.10 2003/10/14 16:23:16 rathnor Exp $ | 22 | // $Id: EventManager.cc,v 1.11 2004/04/19 22:46:46 fluxgen Exp $ |
23 | 23 | ||
24 | #include "EventManager.hh" | 24 | #include "EventManager.hh" |
25 | #include "FbWindow.hh" | 25 | #include "FbWindow.hh" |
@@ -57,6 +57,11 @@ void EventManager::remove(const FbWindow &win) { | |||
57 | unregisterEventHandler(win.window()); | 57 | unregisterEventHandler(win.window()); |
58 | } | 58 | } |
59 | 59 | ||
60 | EventHandler *EventManager::find(Window win) { | ||
61 | return m_eventhandlers[win]; | ||
62 | } | ||
63 | |||
64 | |||
60 | Window EventManager::getEventWindow(XEvent &ev) { | 65 | Window EventManager::getEventWindow(XEvent &ev) { |
61 | // we only have cases for events that differ from xany | 66 | // we only have cases for events that differ from xany |
62 | switch (ev.type) { | 67 | switch (ev.type) { |