Changes in uspace/lib/ui/src/popup.c [d92b8e8f:be0ec50] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/popup.c
rd92b8e8f rbe0ec50 1 1 /* 2 * Copyright (c) 202 4Jiri Svoboda2 * Copyright (c) 2023 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 190 190 } 191 191 192 /** Get ID of device that sent the last position event.193 *194 * @param popup Popup window195 * @return Input device ID196 */197 sysarg_t ui_popup_get_idev_id(ui_popup_t *popup)198 {199 return popup->idev_id;200 }201 202 192 /** Handle close event in popup window. 203 193 * … … 224 214 ui_popup_t *popup = (ui_popup_t *)arg; 225 215 226 /* Remember ID of device that sent the last event */227 popup->idev_id = event->kbd_id;228 229 216 if (popup->cb != NULL && popup->cb->kbd != NULL) 230 217 popup->cb->kbd(popup, popup->arg, event); … … 242 229 ui_popup_t *popup = (ui_popup_t *)arg; 243 230 244 /* Remember ID of device that sent the last event */245 popup->idev_id = event->pos_id;246 247 231 if (popup->cb != NULL && popup->cb->pos != NULL) 248 232 popup->cb->pos(popup, popup->arg, event);
Note:
See TracChangeset
for help on using the changeset viewer.