1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-07-12 00:46:38 +02: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
+2 -1
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)) {