mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 12:58:08 +01:00
fixes to comply to ANSI C
This commit is contained in:
@@ -1726,8 +1726,8 @@ handleMotionNotify(XEvent *event)
|
||||
WScreen *scr = wScreenForRootWindow(event->xmotion.root);
|
||||
|
||||
if (wPreferences.scrollable_menus) {
|
||||
WMPoint p = { event->xmotion.x_root, event->xmotion.y_root };
|
||||
WMRect rect = wGetRectForHead(scr, wGetHeadForPoint(scr, p));
|
||||
WMPoint p = wmkpoint(event->xmotion.x_root, event->xmotion.y_root);
|
||||
WMRect rect = wGetRectForHead(scr, wGetHeadForPoint(scr, p));
|
||||
|
||||
if (scr->flags.jump_back_pending ||
|
||||
p.x <= (rect.pos.x + 1) ||
|
||||
|
||||
Reference in New Issue
Block a user