summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ui/util.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/util.c b/src/ui/util.c
index c1312062..258da04a 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -367,8 +367,8 @@ iWidget *addAction_Widget(iWidget *parent, int key, int kmods, const char *comma
367/*-----------------------------------------------------------------------------------------------*/ 367/*-----------------------------------------------------------------------------------------------*/
368 368
369static iBool isCommandIgnoredByMenus_(const char *cmd) { 369static iBool isCommandIgnoredByMenus_(const char *cmd) {
370 return equal_Command(cmd, "media.updated") || equal_Command(cmd, "document.request.updated") || 370 return equal_Command(cmd, "media.updated") || equal_Command(cmd, "media.player.update") ||
371 equal_Command(cmd, "window.resized") || 371 equal_Command(cmd, "document.request.updated") || equal_Command(cmd, "window.resized") ||
372 (equal_Command(cmd, "mouse.clicked") && !arg_Command(cmd)); /* button released */ 372 (equal_Command(cmd, "mouse.clicked") && !arg_Command(cmd)); /* button released */
373} 373}
374 374
@@ -876,8 +876,8 @@ void updateValueInput_Widget(iWidget *d, const char *title, const char *prompt)
876 876
877static iBool messageHandler_(iWidget *msg, const char *cmd) { 877static iBool messageHandler_(iWidget *msg, const char *cmd) {
878 /* Almost any command dismisses the sheet. */ 878 /* Almost any command dismisses the sheet. */
879 if (!(equal_Command(cmd, "media.updated") || equal_Command(cmd, "document.request.updated") || 879 if (!(equal_Command(cmd, "media.updated") || equal_Command(cmd, "media.player.update") ||
880 startsWith_CStr(cmd, "window."))) { 880 equal_Command(cmd, "document.request.updated") || startsWith_CStr(cmd, "window."))) {
881 destroy_Widget(msg); 881 destroy_Widget(msg);
882 } 882 }
883 return iFalse; 883 return iFalse;