Changeset b4b4dafe in mainline for uspace/lib/ui/src/window.c


Ignore:
Timestamp:
2021-06-03T14:02:59Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Children:
2e6394e
Parents:
6baab83
git-author:
Jiri Svoboda <jiri@…> (2021-06-02 17:00:03)
git-committer:
Jiri Svoboda <jiri@…> (2021-06-03 14:02:59)
Message:

Popup windows event delivery is special

Popup windows don't get focus, yet they still receive events.

File:
1 edited

Legend:

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

    r6baab83 rb4b4dafe  
    188188        gfx_rect_dims(&params->rect, &dparams.min_size);
    189189
     190        if ((params->flags & ui_wndf_popup) != 0)
     191                dparams.flags |= wndf_popup;
     192
    190193        if (ui->display != NULL) {
    191194                if (params->placement != ui_wnd_place_default) {
Note: See TracChangeset for help on using the changeset viewer.