Changeset 0a052b0 in mainline
- Timestamp:
- 2020-02-19T17:04:16Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6c2aba3
- Parents:
- b0a94854
- git-author:
- Jiri Svoboda <jiri@…> (2020-02-19 19:20:55)
- git-committer:
- Jiri Svoboda <jiri@…> (2020-02-19 17:04:16)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/init/init.c
rb0a94854 r0a052b0 66 66 67 67 #define SRV_DISPLAY "/srv/hid/display" 68 #define DISPLAY_SVC "hid/display" 68 69 69 70 #define HID_INPUT "hid/input" 70 71 #define HID_OUTPUT "hid/output" 71 #define HID_COMPOSITOR_SERVER ":0"72 72 73 73 #define srv_start(path, ...) \ … … 261 261 } 262 262 263 static int gui_start(const char *app )263 static int gui_start(const char *app, const char *display_svc) 264 264 { 265 265 printf("%s: Spawning %s\n", NAME, app); … … 267 267 task_id_t id; 268 268 task_wait_t wait; 269 errno_t rc = task_spawnl(&id, &wait, app, app, NULL);269 errno_t rc = task_spawnl(&id, &wait, app, app, display_svc, NULL); 270 270 if (rc != EOK) { 271 271 printf("%s: Error spawning %s (%s)\n", NAME, app, … … 451 451 if (rc == EOK) { 452 452 fibril_sleep(1); 453 gui_start("/app/terminal"); 453 gui_start("/app/barber", DISPLAY_SVC); 454 gui_start("/app/vlaunch", DISPLAY_SVC); 455 gui_start("/app/vterm", DISPLAY_SVC); 454 456 } 455 457 }
Note:
See TracChangeset
for help on using the changeset viewer.