1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Merge pull request #4867 from Laserlicht/notFocusedClick

notFocusedClick refactoring
This commit is contained in:
Ivan Savenko
2024-11-13 20:49:31 +02:00
committed by GitHub
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);
}