aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/windowmaker/files/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/windowmaker/files/patch-ai')
-rw-r--r--x11-wm/windowmaker/files/patch-ai13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11-wm/windowmaker/files/patch-ai b/x11-wm/windowmaker/files/patch-ai
new file mode 100644
index 000000000000..72948f93f1b5
--- /dev/null
+++ b/x11-wm/windowmaker/files/patch-ai
@@ -0,0 +1,13 @@
+--- WINGs/wevent.c.orig Wed Oct 21 14:43:55 1998
++++ WINGs/wevent.c Mon Oct 26 00:05:25 1998
+@@ -387,6 +387,10 @@
+ } else {
+ delay->tv_sec = timerHandler->when.tv_sec - now.tv_sec;
+ delay->tv_usec = timerHandler->when.tv_usec - now.tv_usec;
++ if (delay->tv_usec < 0) {
++ delay->tv_usec += 1000000;
++ delay->tv_sec--;
++ }
+ }
+ }
+