mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 04:48:06 +01:00
Fixed problems in menu scrolling caused by the patch sent by Swivel.
This commit is contained in:
@@ -1792,12 +1792,7 @@ wMenuScroll(WMenu *menu, XEvent *event)
|
||||
WMNextEvent(dpy, &ev);
|
||||
switch (ev.type) {
|
||||
case EnterNotify:
|
||||
/*
|
||||
this um causes a nasty crash ugly ugh i dont see *why* we do this,
|
||||
everything seems fine without it. ( swivel )
|
||||
WMHandleEvent(&ev);
|
||||
*/
|
||||
break;
|
||||
case MotionNotify:
|
||||
x = (ev.type==MotionNotify) ? ev.xmotion.x_root : ev.xcrossing.x_root;
|
||||
y = (ev.type==MotionNotify) ? ev.xmotion.y_root : ev.xcrossing.y_root;
|
||||
|
||||
Reference in New Issue
Block a user