Maybe this fixes that weirdo bug.

This commit is contained in:
Alcaro 2016-07-16 17:01:56 +02:00
parent d7dbc45c6b
commit 0fd53504ee

View File

@ -890,8 +890,11 @@ static int menu_input_mouse_post_iterate(uint64_t *input_mouse,
#endif
)
{
mouse_oldleft = false;
mouse_oldright = false;
/* HACK: Need to lie to avoid false hits if mouse is held when entering the RetroArch window */
/* this happens if, for example, someone double clicks the window border to maximize it */
/* the proper fix is, of course, triggering on WM_LBUTTONDOWN rather than this state change */
mouse_oldleft = true;
mouse_oldright = true;
return 0;
}