aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-08-27 00:21:54 (GMT)
committerfluxgen <fluxgen>2003-08-27 00:21:54 (GMT)
commit38bff124550a79a4daf0488531136f49f46475e1 (patch)
tree9c729d95673be96793ec587712830c6a13128d04 /src/FbTk
parent3e99a0752783eeb0de19eb07be47f8e1128d70f7 (diff)
downloadfluxbox_paul-38bff124550a79a4daf0488531136f49f46475e1.zip
fluxbox_paul-38bff124550a79a4daf0488531136f49f46475e1.tar.bz2
minor fix
Diffstat (limited to 'src/FbTk')
-rw-r--r--src/FbTk/EventManager.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/FbTk/EventManager.cc b/src/FbTk/EventManager.cc
index cd23416..eadc701 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.7 2003/08/23 15:44:06 fluxgen Exp $ 22// $Id: EventManager.cc,v 1.8 2003/08/27 00:21:54 fluxgen Exp $
23 23
24#include "EventManager.hh" 24#include "EventManager.hh"
25#include "FbWindow.hh" 25#include "FbWindow.hh"
@@ -70,7 +70,6 @@ void EventManager::unregisterEventHandler(Window win) {
70} 70}
71 71
72void EventManager::dispatch(Window win, XEvent &ev, bool parent) { 72void EventManager::dispatch(Window win, XEvent &ev, bool parent) {
73
74 EventHandler *evhand = 0; 73 EventHandler *evhand = 0;
75 if (parent) 74 if (parent)
76 evhand = m_parent[win]; 75 evhand = m_parent[win];
@@ -80,7 +79,7 @@ void EventManager::dispatch(Window win, XEvent &ev, bool parent) {
80 if (evhand == 0) 79 if (evhand == 0)
81 return; 80 return;
82 81
83 switch (ev.xany.type) { 82 switch (ev.type) {
84 case KeyPress: 83 case KeyPress:
85 evhand->keyPressEvent(ev.xkey); 84 evhand->keyPressEvent(ev.xkey);
86 break; 85 break;