diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-03-25 16:34:26 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-03-25 16:34:26 +0000 |
| commit | e6c82786ff65e7681c980c8adebe082656c16438 (patch) | |
| tree | 819cc769062b7e3f893fac9708dc01c5f149e7c1 /openbox/event.c | |
| parent | 2db6cf513020179130bdf7b0ed570e3b962e5ad5 (diff) | |
don't menu menus jump around at all anymore. open them on screen in the first place
Diffstat (limited to 'openbox/event.c')
| -rw-r--r-- | openbox/event.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/openbox/event.c b/openbox/event.c index 7e66cc28..75cf5d2e 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -1263,10 +1263,11 @@ static void event_handle_menu(XEvent *ev) case MotionNotify: if ((f = menu_frame_under(ev->xmotion.x_root, ev->xmotion.y_root))) { - menu_frame_move_on_screen(f); if ((e = menu_entry_frame_under(ev->xmotion.x_root, - ev->xmotion.y_root))) + ev->xmotion.y_root))) { + /* XXX menu_frame_entry_move_on_screen(f); */ menu_frame_select(f, e); + } } { ObMenuFrame *a; |
