Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 62223ec in mainline for uspace/lib/ui/src/control.c


Ignore:
Timestamp:
2021-04-09T22:41:22Z (8 months ago)
Author:
jxsvoboda <5887334+jxsvoboda@…>
Branches:
master
Children:
f251883
Parents:
0262f16c
git-author:
Jiri Svoboda <jiri@…> (2021-04-01 21:04:11)
git-committer:
jxsvoboda <5887334+jxsvoboda@…> (2021-04-09 22:41:22)
Message:

Close menu when window is unfocused

This of course means we need to do all the plumbing for delivering
unfocus event to UI controls.

File:
1 edited

Legend:

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

    r0262f16c r62223ec  
    112112}
    113113
     114/** Inform UI control that window has been unfocused.
     115 *
     116 * @param control Control
     117 */
     118void ui_control_unfocus(ui_control_t *control)
     119{
     120        if (control->ops->unfocus != NULL)
     121                control->ops->unfocus(control->ext);
     122}
     123
    114124/** @}
    115125 */
Note: See TracChangeset for help on using the changeset viewer.