Changeset 6d172f6 in mainline


Ignore:
Timestamp:
2021-10-04T12:23:54Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3d10a2f
Parents:
9bf5da6f
git-author:
Jiri Svoboda <jiri@…> (2021-10-03 17:23:43)
git-committer:
Jiri Svoboda <jiri@…> (2021-10-04 12:23:54)
Message:

Fix window destruction with dummy output

In unit tests when we tried to destroy a window ui_window_destroy()
would try to repaint the UI (because it figures out the UI is
full-screen since there is no display service) and tried to do it
using console GC (which is NULL).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/src/ui.c

    r9bf5da6f r6d172f6  
    311311        gfx_color_t *color = NULL;
    312312
     313        /* In case of null output */
     314        if (ui->cgc == NULL)
     315                return EOK;
     316
    313317        gc = console_gc_get_ctx(ui->cgc);
    314318
Note: See TracChangeset for help on using the changeset viewer.