Changeset 29a5a99 in mainline for uspace/lib/ui


Ignore:
Timestamp:
2022-12-04T10:42:48Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
14b4577
Parents:
795c6f7
Message:

Maximized windows should avoid task bar

Location:
uspace/lib/ui
Files:
2 edited

Legend:

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

    r795c6f7 r29a5a99  
    7070        ui_wndf_topmost = 0x2,
    7171        /** Special system window */
    72         ui_wndf_system = 0x4
     72        ui_wndf_system = 0x4,
     73        /** Maximized windows should avoid this window */
     74        ui_wndf_avoid = 0x8
    7375} ui_wnd_flags_t;
    7476
  • uspace/lib/ui/src/window.c

    r795c6f7 r29a5a99  
    232232        if ((params->flags & ui_wndf_system) != 0)
    233233                dparams.flags |= wndf_system;
     234        if ((params->flags & ui_wndf_avoid) != 0)
     235                dparams.flags |= wndf_avoid;
    234236
    235237        if (ui->display != NULL) {
Note: See TracChangeset for help on using the changeset viewer.