mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
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