diff options
Diffstat (limited to 'src/FbTk/EventManager.cc')
-rw-r--r-- | src/FbTk/EventManager.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/FbTk/EventManager.cc b/src/FbTk/EventManager.cc index ae52908..b9d5e98 100644 --- a/src/FbTk/EventManager.cc +++ b/src/FbTk/EventManager.cc | |||
@@ -179,9 +179,7 @@ void EventManager::dispatch(Window win, XEvent &ev, bool parent) { | |||
179 | evhand->exposeEvent(ev.xexpose); | 179 | evhand->exposeEvent(ev.xexpose); |
180 | break; | 180 | break; |
181 | case EnterNotify: | 181 | case EnterNotify: |
182 | if (ev.xcrossing.mode != NotifyGrab && | 182 | evhand->enterNotifyEvent(ev.xcrossing); |
183 | ev.xcrossing.mode != NotifyUngrab) | ||
184 | evhand->enterNotifyEvent(ev.xcrossing); | ||
185 | break; | 183 | break; |
186 | case LeaveNotify: | 184 | case LeaveNotify: |
187 | if (ev.xcrossing.mode != NotifyGrab && | 185 | if (ev.xcrossing.mode != NotifyGrab && |