aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/FbTk/EventManager.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/FbTk/EventManager.cc b/src/FbTk/EventManager.cc
index 9299b5d..854a5a5 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.13 2004/06/07 11:46:05 rathnor Exp $ 22// $Id: EventManager.cc,v 1.14 2004/09/10 07:15:23 akir Exp $
23 23
24#include "EventManager.hh" 24#include "EventManager.hh"
25#include "FbWindow.hh" 25#include "FbWindow.hh"
@@ -152,31 +152,31 @@ void EventManager::dispatch(Window win, XEvent &ev, bool parent) {
152 switch (ev.type) { 152 switch (ev.type) {
153 case KeyPress: 153 case KeyPress:
154 evhand->keyPressEvent(ev.xkey); 154 evhand->keyPressEvent(ev.xkey);
155 break; 155 break;
156 case KeyRelease: 156 case KeyRelease:
157 evhand->keyReleaseEvent(ev.xkey); 157 evhand->keyReleaseEvent(ev.xkey);
158 break; 158 break;
159 case ButtonPress: 159 case ButtonPress:
160 evhand->buttonPressEvent(ev.xbutton); 160 evhand->buttonPressEvent(ev.xbutton);
161 break; 161 break;
162 case ButtonRelease: 162 case ButtonRelease:
163 evhand->buttonReleaseEvent(ev.xbutton); 163 evhand->buttonReleaseEvent(ev.xbutton);
164 break; 164 break;
165 case MotionNotify: 165 case MotionNotify:
166 evhand->motionNotifyEvent(ev.xmotion); 166 evhand->motionNotifyEvent(ev.xmotion);
167 break; 167 break;
168 case Expose: 168 case Expose:
169 evhand->exposeEvent(ev.xexpose); 169 evhand->exposeEvent(ev.xexpose);
170 break; 170 break;
171 case EnterNotify: 171 case EnterNotify:
172 evhand->enterNotifyEvent(ev.xcrossing); 172 evhand->enterNotifyEvent(ev.xcrossing);
173 break; 173 break;
174 case LeaveNotify: 174 case LeaveNotify:
175 evhand->leaveNotifyEvent(ev.xcrossing); 175 evhand->leaveNotifyEvent(ev.xcrossing);
176 break; 176 break;
177 default: 177 default:
178 evhand->handleEvent(ev); 178 evhand->handleEvent(ev);
179 break; 179 break;
180 }; 180 };
181 181
182 // find out which window is the parent and 182 // find out which window is the parent and