Changeset 2e08f2b6 in mainline for uspace/lib/ui/src/msgdialog.c


Ignore:
Timestamp:
2025-01-20T17:35:12Z (36 hours ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
5162f6e
Parents:
afb4025
Message:

Confirm shutdown in shutdown dialog.

File:
1 edited

Legend:

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

    rafb4025 r2e08f2b6  
    111111        ui_wnd_params_init(&wparams);
    112112        wparams.caption = params->caption;
     113        if ((params->flags & umdf_topmost) != 0)
     114                wparams.flags |= wndf_topmost;
     115        if ((params->flags & umdf_center) != 0)
     116                wparams.placement = ui_wnd_place_center;
    113117
    114118        /* FIXME: Auto layout */
Note: See TracChangeset for help on using the changeset viewer.