summaryrefslogtreecommitdiff
blob: 7cd45b374a98f5fd3f76fe24774dc042872f947a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- openMotif-2.2.3/lib/Xm/MenuUtil.c.popup_timeout
+++ openMotif-2.2.3/lib/Xm/MenuUtil.c
@@ -156,6 +156,9 @@
 				  cursor, time)) == GrabSuccess)
 	 break;
 
+      if (status == GrabInvalidTime)
+	time = CurrentTime;
+
       XmeMicroSleep(1000);
    }
    if (status != GrabSuccess)