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:
parent
41567c5bb9
commit
d0078b6574
10 changed files with 123 additions and 65 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue