diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/util.c | 4 | ||||
-rw-r--r-- | src/ui/window.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/util.c b/src/ui/util.c index ef69b5f1..1ad3f30e 100644 --- a/src/ui/util.c +++ b/src/ui/util.c | |||
@@ -456,14 +456,14 @@ void openMenu_Widget(iWidget *d, iInt2 coord) { | |||
456 | if (leftExcess > 0) { | 456 | if (leftExcess > 0) { |
457 | d->rect.pos.x += leftExcess; | 457 | d->rect.pos.x += leftExcess; |
458 | } | 458 | } |
459 | refresh_App(); | 459 | postRefresh_App(); |
460 | postCommand_Widget(d, "menu.opened"); | 460 | postCommand_Widget(d, "menu.opened"); |
461 | } | 461 | } |
462 | 462 | ||
463 | void closeMenu_Widget(iWidget *d) { | 463 | void closeMenu_Widget(iWidget *d) { |
464 | setFlags_Widget(d, hidden_WidgetFlag, iTrue); | 464 | setFlags_Widget(d, hidden_WidgetFlag, iTrue); |
465 | setFlags_Widget(findChild_Widget(d, "menu.cancel"), disabled_WidgetFlag, iTrue); | 465 | setFlags_Widget(findChild_Widget(d, "menu.cancel"), disabled_WidgetFlag, iTrue); |
466 | refresh_App(); | 466 | postRefresh_App(); |
467 | postCommand_Widget(d, "menu.closed"); | 467 | postCommand_Widget(d, "menu.closed"); |
468 | } | 468 | } |
469 | 469 | ||
diff --git a/src/ui/window.c b/src/ui/window.c index 6441a2e3..1bf9065e 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -345,7 +345,7 @@ static iBool handleSearchBarCommands_(iWidget *searchBar, const char *cmd) { | |||
345 | if (!isVisible_Widget(searchBar)) { | 345 | if (!isVisible_Widget(searchBar)) { |
346 | setFlags_Widget(searchBar, hidden_WidgetFlag | disabled_WidgetFlag, iFalse); | 346 | setFlags_Widget(searchBar, hidden_WidgetFlag | disabled_WidgetFlag, iFalse); |
347 | arrange_Widget(get_Window()->root); | 347 | arrange_Widget(get_Window()->root); |
348 | refresh_App(); | 348 | postRefresh_App(); |
349 | } | 349 | } |
350 | } | 350 | } |
351 | } | 351 | } |