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/display/include/types/display/wndparams.h

    rc9927c66 r9e84d2c  
    11/*
    2  * Copyright (c) 2019 Jiri Svoboda
     2 * Copyright (c) 2021 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    3838#include <gfx/coord.h>
    3939
     40/** Window flags */
     41typedef enum {
     42        /** Popup window (capture events, no focus) */
     43        wndf_popup = 0x1
     44} display_wnd_flags_t;
     45
    4046/** Parameters for a new window.
    4147 *
     
    5056        /** Minimum size (when being resized) */
    5157        gfx_coord2_t min_size;
     58        /** Flags */
     59        display_wnd_flags_t flags;
    5260} display_wnd_params_t;
    5361
Note: See TracChangeset for help on using the changeset viewer.