Clock: Turns the clock window from guitest2 into a separate program.

We can't not have a desktop clock app. :^)
This commit is contained in:
Andreas Kling 2019-02-05 09:44:13 +01:00
commit d0078b6574
Notes: sideshowbarker 2024-07-19 15:51:49 +09:00
10 changed files with 123 additions and 65 deletions

View file

@ -26,7 +26,8 @@
//#define SPAWN_GUITEST
#define SPAWN_GUITEST2
#define SPAWN_FONTEDITOR
#define SPAWN_CLOCK
//#define SPAWN_FONTEDITOR
//#define SPAWN_MULTIPLE_SHELLS
//#define STRESS_TEST_SPAWNING
@ -111,6 +112,9 @@ static void init_stage2()
#ifdef SPAWN_GUITEST2
Process::create_user_process("/bin/guitest2", (uid_t)100, (gid_t)100, (pid_t)0, error, { }, move(environment), tty0);
#endif
#ifdef SPAWN_CLOCK
Process::create_user_process("/bin/Clock", (uid_t)100, (gid_t)100, (pid_t)0, error, { }, move(environment), tty0);
#endif
#ifdef SPAWN_FONTEDITOR
Process::create_user_process("/bin/FontEditor", (uid_t)100, (gid_t)100, (pid_t)0, error, { }, move(environment), tty0);
#endif