aboutsummaryrefslogtreecommitdiffstats
path: root/lcd4linux.c
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-11-15 06:49:13 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-11-15 06:49:13 +0000
commit3f6579900c3f3c7175209d7411d4ae87deabc48b (patch)
treeac273e2b4f9f1ad94aae865207d75efdac9a54e0 /lcd4linux.c
parent11ebe1024fd877cc908523fef2d6240be010fadb (diff)
downloadlcd4linux-3f6579900c3f3c7175209d7411d4ae87deabc48b.tar.gz
event plugin and dbus interface by Ed Martin
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1053 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'lcd4linux.c')
-rw-r--r--lcd4linux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lcd4linux.c b/lcd4linux.c
index 79941ca..bf17f5e 100644
--- a/lcd4linux.c
+++ b/lcd4linux.c
@@ -48,7 +48,7 @@
#include "layout.h"
#include "plugin.h"
#include "thread.h"
-
+#include "event.h"
#include "widget.h"
#include "widget_timer.h"
@@ -389,7 +389,7 @@ int main(int argc, char *argv[])
struct timespec delay;
if (timer_process(&delay) < 0)
break;
- nanosleep(&delay, NULL);
+ event_process(&delay);
}
debug("leaving main loop");