Changeset 4034954c in mainline for uspace/lib/ui/test/menubar.c


Ignore:
Timestamp:
2023-09-27T20:01:51Z (8 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e54de59
Parents:
5afc1aa
Message:

Do not forget to close system menu. Close first, open second!

When moving out of system menu to menu bar we would forget to
close it. This was only causing noticeable problems in text mode.
Also we first close the current menu, then open the other one,
as juggling multiple popup windows in text mode could cause problems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/test/menubar.c

    r5afc1aa r4034954c  
    453453        PCUT_ASSERT_NOT_NULL(mdd2);
    454454
    455         ui_menu_bar_select_sysmenu(mbar, 0);
     455        ui_menu_bar_select_sysmenu(mbar, false, 0);
    456456        PCUT_ASSERT_TRUE(window->wdecor->sysmenu_hdl_active);
    457457
Note: See TracChangeset for help on using the changeset viewer.