We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a57ec2 commit 05ce35bCopy full SHA for 05ce35b
1 file changed
menu/menu_driver.c
@@ -5239,8 +5239,9 @@ unsigned menu_event(
5239
5240
ok_old = ok_current;
5241
5242
- /* Menu must be alive */
5243
- if (!(menu_st->flags & MENU_ST_FLAG_ALIVE))
+ /* Menu must be alive, and input must be released after menu toggle. */
+ if ( !(menu_st->flags & MENU_ST_FLAG_ALIVE)
5244
+ || menu_st->input_driver_flushing_input > 0)
5245
return ret;
5246
5247
/* Get pointer (mouse + touchscreen) input
0 commit comments