Ignore:
File:
1 edited

Legend:

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

    rd92b8e8f r112f70a  
    11/*
    2  * Copyright (c) 2024 Jiri Svoboda
     2 * Copyright (c) 2023 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    578578        ui_menu_t *menu = (ui_menu_t *)arg;
    579579
    580         menu->idev_id = ui_popup_get_idev_id(menu->popup);
    581580        ui_menu_kbd_event(menu, event);
    582581}
     
    593592        gfx_coord2_t spos;
    594593
    595         menu->idev_id = ui_popup_get_idev_id(menu->popup);
    596 
    597594        spos.x = 0;
    598595        spos.y = 0;
     
    644641}
    645642
    646 /** Get ID of last device that input event.
    647  *
    648  * @param menu Menu
    649  * @return Input device ID
    650  */
    651 sysarg_t ui_menu_get_idev_id(ui_menu_t *menu)
    652 {
    653         return menu->idev_id;
    654 }
    655 
    656643/** @}
    657644 */
Note: See TracChangeset for help on using the changeset viewer.