Changeset 0d00e53 in mainline for uspace/lib/ui/src/window.c
- Timestamp:
- 2024-11-07T10:38:29Z (7 months ago)
- Branches:
- master
- Children:
- 9a07ee3, 9e7e1dc
- Parents:
- ad9e225
- git-author:
- Jiri Svoboda <jiri@…> (2024-10-06 18:37:25)
- git-committer:
- Jiri Svoboda <jiri@…> (2024-11-07 10:38:29)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/window.c
rad9e225 r0d00e53 189 189 switch (params->placement) { 190 190 case ui_wnd_place_default: 191 assert(ui_is_fullscreen(window->ui)); 191 case ui_wnd_place_center: 192 assert(params->placement != ui_wnd_place_default || 193 ui_is_fullscreen(window->ui)); 192 194 /* Center window */ 193 195 gfx_rect_dims(¶ms->rect, &dims); … … 357 359 if ((params->flags & ui_wndf_popup) != 0) 358 360 dparams.flags |= wndf_popup; 361 if ((params->flags & ui_wndf_nofocus) != 0) 362 dparams.flags |= wndf_nofocus; 359 363 if ((params->flags & ui_wndf_topmost) != 0) 360 364 dparams.flags |= wndf_topmost;
Note:
See TracChangeset
for help on using the changeset viewer.