Changeset 0ae9e18 in mainline for uspace/lib/ui/src/selectdialog.c


Ignore:
Timestamp:
2025-03-09T12:03:24Z (22 hours ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
c8680be4
Parents:
797ab95
Message:

Select shutdown action (power off / restart) in shutdown dialog.

File:
1 edited

Legend:

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

    r797ab95 r0ae9e18  
    11/*
    2  * Copyright (c) 2023 Jiri Svoboda
     2 * Copyright (c) 2025 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    114114        ui_wnd_params_init(&wparams);
    115115        wparams.caption = params->caption;
     116
     117        if ((params->flags & usdf_topmost) != 0)
     118                wparams.flags |= wndf_topmost;
     119        if ((params->flags & usdf_center) != 0)
     120                wparams.placement = ui_wnd_place_center;
    116121
    117122        /* FIXME: Auto layout */
Note: See TracChangeset for help on using the changeset viewer.