Changeset 9aa51406 in mainline for uspace/lib/ui/src/window.c


Ignore:
Timestamp:
2024-09-18T10:01:34Z (5 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
88739997
Parents:
1bbc6dc
git-author:
Jiri Svoboda <jiri@…> (2024-09-17 17:01:07)
git-committer:
Jiri Svoboda <jiri@…> (2024-09-18 10:01:34)
Message:

Create terminal window with the correct size from the start.

File:
1 edited

Legend:

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

    r1bbc6dc r9aa51406  
    343343        dparams.rect = params->rect;
    344344        dparams.caption = params->caption;
    345         /* Only allow making the window larger */
    346         gfx_rect_dims(&params->rect, &dparams.min_size);
     345        dparams.min_size = params->min_size;
    347346
    348347        /*
Note: See TracChangeset for help on using the changeset viewer.