1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

notFocusedClick refactoring

This commit is contained in:
Laserlicht
2024-11-03 01:13:14 +01:00
parent e45be3c5e6
commit ca037aae33
4 changed files with 9 additions and 22 deletions

View File

@@ -1703,7 +1703,7 @@ void VideoWindow::keyPressed(EShortcut key)
exit(true);
}
bool VideoWindow::receiveEvent(const Point & position, int eventType) const
void VideoWindow::notFocusedClick()
{
return true; // capture click also outside of window
exit(true);
}