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


Ignore:
Timestamp:
2021-06-10T13:22:33Z (3 years ago)
Author:
jxsvoboda <5887334+jxsvoboda@…>
Branches:
master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5823aef3
Parents:
c9927c66
git-author:
Jiri Svoboda <jiri@…> (2021-06-02 17:00:03)
git-committer:
jxsvoboda <5887334+jxsvoboda@…> (2021-06-10 13:22:33)
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

    rc9927c66 r9e84d2c  
    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.