1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 21:08:08 +01:00

menu jump back delay

This commit is contained in:
id
1999-04-22 15:21:29 +00:00
parent a997825148
commit 0bebc5a792
5 changed files with 41 additions and 1 deletions

View File

@@ -1744,7 +1744,8 @@ handleMotionNotify(XEvent *event)
WScreen *scr = wScreenForRootWindow(event->xmotion.root);
if (wPreferences.scrollable_menus) {
if (event->xmotion.x_root <= 1 ||
if (scr->flags.jump_back_pending ||
event->xmotion.x_root <= 1 ||
event->xmotion.x_root >= (scr->scr_width - 2) ||
event->xmotion.y_root <= 1 ||
event->xmotion.y_root >= (scr->scr_height - 2)) {