summaryrefslogtreecommitdiff
path: root/x11-wm/windowmaker
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1998-11-02 08:08:09 +0000
committerThomas Gellekum <tg@FreeBSD.org>1998-11-02 08:08:09 +0000
commit137f1976cbbf0f7c0153b29d4415c0396dbc1971 (patch)
tree467a40fb83b27cfd858f2ae2f78917873a45ed49 /x11-wm/windowmaker
parentadd webglimpse (diff)
Fix CPU hogging.
Submitted by: Brian Handy <handy@physics.montana.edu>
Notes
Notes: svn path=/head/; revision=14300
Diffstat (limited to 'x11-wm/windowmaker')
-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--;
++ }
+ }
+ }
+