Changeset 0a052b0 in mainline


Ignore:
Timestamp:
2020-02-19T17:04:16Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
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)
Message:

Launch vterm, vlaunch, barber like before

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/init/init.c

    rb0a94854 r0a052b0  
    6666
    6767#define SRV_DISPLAY  "/srv/hid/display"
     68#define DISPLAY_SVC  "hid/display"
    6869
    6970#define HID_INPUT              "hid/input"
    7071#define HID_OUTPUT             "hid/output"
    71 #define HID_COMPOSITOR_SERVER  ":0"
    7272
    7373#define srv_start(path, ...) \
     
    261261}
    262262
    263 static int gui_start(const char *app)
     263static int gui_start(const char *app, const char *display_svc)
    264264{
    265265        printf("%s: Spawning %s\n", NAME, app);
     
    267267        task_id_t id;
    268268        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);
    270270        if (rc != EOK) {
    271271                printf("%s: Error spawning %s (%s)\n", NAME, app,
     
    451451                if (rc == EOK) {
    452452                        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);
    454456                }
    455457        }
Note: See TracChangeset for help on using the changeset viewer.