Changeset 06d0c81 in mainline for uspace/app/init/init.c


Ignore:
Timestamp:
2020-11-19T22:38:17Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
20667af
Parents:
2e0a2e7
Message:

Window placement

Needed to recreate the current 'desktop' and keep CI tests working

File:
1 edited

Legend:

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

    r2e0a2e7 r06d0c81  
    277277}
    278278
    279 static int app_start(const char *app)
     279static int app_start(const char *app, const char *arg)
    280280{
    281281        printf("%s: Spawning %s\n", NAME, app);
     
    283283        task_id_t id;
    284284        task_wait_t wait;
    285         errno_t rc = task_spawnl(&id, &wait, app, app, NULL);
     285        errno_t rc = task_spawnl(&id, &wait, app, app, arg, NULL);
    286286        if (rc != EOK) {
    287287                oom_check(rc, app);
     
    471471                rc = display_server();
    472472                if (rc == EOK) {
    473                         app_start("/app/terminal");
    474                         app_start("/app/launcher");
    475                         app_start("/app/barber");
     473                        app_start("/app/launcher", NULL);
     474                        app_start("/app/barber", NULL);
     475                        app_start("/app/terminal", "-topleft");
    476476                }
    477477        }
Note: See TracChangeset for help on using the changeset viewer.