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

    r6baab83 rb4b4dafe  
    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.