Changeset 7cc30e9 in mainline for uspace/lib/ui/src/window.c
- Timestamp:
- 2022-10-24T17:50:46Z (3 years ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 913add60
- Parents:
- 7a05d924
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/window.c
r7a05d924 r7cc30e9 222 222 display_wnd_params_init(&dparams); 223 223 dparams.rect = params->rect; 224 dparams.caption = params->caption; 224 225 /* Only allow making the window larger */ 225 226 gfx_rect_dims(¶ms->rect, &dparams.min_size); … … 651 652 errno_t ui_window_set_caption(ui_window_t *window, const char *caption) 652 653 { 654 errno_t rc; 655 656 /* Set console caption if fullscreen window on console */ 657 if (window->ui->console != NULL && window->placement == 658 ui_wnd_place_full_screen) { 659 rc = console_set_caption(window->ui->console, caption); 660 if (rc != EOK) 661 return rc; 662 } 663 664 /* Set display window caption if running on display service */ 665 if (window->dwindow != NULL) { 666 rc = display_window_set_caption(window->dwindow, caption); 667 if (rc != EOK) 668 return rc; 669 } 670 653 671 return ui_wdecor_set_caption(window->wdecor, caption); 654 672 }
Note:
See TracChangeset
for help on using the changeset viewer.