mirror of
https://github.com/troglobit/finit.git
synced 2026-10-16 10:39:35 +00:00
Add util.c:screen_init() to probe screen size once per boot
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
405cf4d997
commit
be6f0de0df
6 files changed
+41
-13
No files matched your search
@@ -44,6 +44,7 @@
|
||||
#include "sig.h"
|
||||
#include "sm.h"
|
||||
#include "tty.h"
|
||||
#include "util.h"
|
||||
#include "utmp-api.h"
|
||||
#include "watchdog.h"
|
||||
|
||||
@@ -228,6 +229,9 @@ int main(int argc, char* argv[])
|
||||
if (getpid() != 1)
|
||||
return client(argc, argv);
|
||||
|
||||
/* Set up canvas */
|
||||
screen_init();
|
||||
|
||||
/*
|
||||
* In case of emergency.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user