Changeset be0ec50 in mainline


Ignore:
Timestamp:
2023-09-29T17:03:33Z (14 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
06a61fc
Parents:
e54de59
Message:

Make sure menus are not obscured by task bar

Location:
uspace
Files:
2 edited

Legend:

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

    re54de59 rbe0ec50  
    9898        wparams.style &= ~ui_wds_decorated;
    9999        wparams.placement = ui_wnd_place_popup;
    100         wparams.flags |= ui_wndf_popup;
     100        wparams.flags |= ui_wndf_popup | ui_wndf_topmost;
    101101        wparams.idev_id = params->idev_id;
    102102
  • uspace/srv/hid/display/window.c

    re54de59 rbe0ec50  
    9595        }
    9696
     97        wnd->flags = params->flags;
     98
    9799        ds_client_add_window(client, wnd);
    98100        ds_display_add_window(client->display, wnd);
     
    134136        wnd->gc = mem_gc_get_ctx(wnd->mgc);
    135137        wnd->cursor = wnd->display->cursor[dcurs_arrow];
    136         wnd->flags = params->flags;
    137138
    138139        if ((params->flags & wndf_setpos) != 0) {
Note: See TracChangeset for help on using the changeset viewer.