Changeset 489f405 in mainline


Ignore:
Timestamp:
2023-10-13T20:38:50Z (7 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9adae25
Parents:
7aa9fa1b
Message:

Taskbar should start even if WM service is not running

File:
1 edited

Legend:

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

    r7aa9fa1b r489f405  
    241241        wndlist_set_rect(taskbar->wndlist, &rect);
    242242
     243        /*
     244         * We may not be able to open WM service if display server is not
     245         * running. That's okay, there simply are no windows to manage.
     246         */
    243247        rc = wndlist_open_wm(taskbar->wndlist, wndmgt_svc);
    244         if (rc != EOK) {
     248        if (rc != EOK && rc != ENOENT) {
    245249                printf("Error attaching window management service.\n");
    246250                goto error;
Note: See TracChangeset for help on using the changeset viewer.