1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 05:47:34 +00:00

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
parent 41567c5bb9
commit d0078b6574
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