Changeset 4030072 in mainline


Ignore:
Timestamp:
2023-10-17T07:58:44Z (14 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b279899
Parents:
1543d4c
git-author:
Jiri Svoboda <jiri@…> (2023-10-16 17:58:28)
git-committer:
Jiri Svoboda <jiri@…> (2023-10-17 07:58:44)
Message:

Open start menu on button press, not click

Now it can be closed with a second press.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/taskbar/tbsmenu.c

    r1543d4c r4030072  
    5555};
    5656
    57 static void tbsmenu_button_clicked(ui_pbutton_t *, void *);
     57static void tbsmenu_button_down(ui_pbutton_t *, void *);
    5858
    5959/** Start button callbacks */
    6060static ui_pbutton_cb_t tbsmenu_button_cb = {
    61         .clicked = tbsmenu_button_clicked
     61        .down = tbsmenu_button_down
    6262};
    6363
     
    374374}
    375375
    376 /** Start button was clicked.
     376/** Start button was depressed.
    377377 *
    378378 * @param pbutton Push button
    379379 * @param arg Argument (tbsmenu_entry_t *)
    380380 */
    381 static void tbsmenu_button_clicked(ui_pbutton_t *pbutton, void *arg)
     381static void tbsmenu_button_down(ui_pbutton_t *pbutton, void *arg)
    382382{
    383383        tbsmenu_t *tbsmenu = (tbsmenu_t *)arg;
Note: See TracChangeset for help on using the changeset viewer.