Changeset 5d62130 in mainline for uspace/lib/ui


Ignore:
Timestamp:
2022-11-13T10:56:43Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a130983
Parents:
a5c7b865
Message:

Taskbar should be always on top

We add support for topmost windows and make the taskbar window topmost.

Location:
uspace/lib/ui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/include/types/ui/window.h

    ra5c7b865 r5d62130  
    6767        /** Popup window */
    6868        ui_wndf_popup = 0x1,
     69        /** Topmost window */
     70        ui_wndf_topmost = 0x2,
    6971        /** Special system window */
    70         ui_wndf_system = 0x2
     72        ui_wndf_system = 0x4
    7173} ui_wnd_flags_t;
    7274
  • uspace/lib/ui/src/window.c

    ra5c7b865 r5d62130  
    228228        if ((params->flags & ui_wndf_popup) != 0)
    229229                dparams.flags |= wndf_popup;
     230        if ((params->flags & ui_wndf_topmost) != 0)
     231                dparams.flags |= wndf_topmost;
    230232        if ((params->flags & ui_wndf_system) != 0)
    231233                dparams.flags |= wndf_system;
Note: See TracChangeset for help on using the changeset viewer.