]> rtime.felk.cvut.cz Git - coffee/mt-apps.git/blobdiff - mt_aio.c
Blank the screen during inactivity
[coffee/mt-apps.git] / mt_aio.c
index a8e981a845129aceb5d03491a344dec167d097cb..92f2354421687827a08d9269e1ba62391d332da7 100644 (file)
--- a/mt_aio.c
+++ b/mt_aio.c
@@ -3,6 +3,7 @@
 #include "mt_keys.h"
 #include "mt_server.h"
 #include "signal_exit.h"
+#include "mt_blank.h"
 
 int main(int argc, char **argv)
 {
@@ -31,6 +32,10 @@ int main(int argc, char **argv)
         return -2;
     }
 
+    if (mt_blank_init(loop) != 0) {
+        return -3;
+    }
+
     ev_run(loop, 0);
 
     mt_server_deinit(&server);