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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user