VIDEO: handle input when moving the window via shortcuts
parent
75e838e1df
commit
3f2de00ef9
|
@ -75,6 +75,9 @@ bool WindowedApp::handleSDLEvent(SDL_Event& event) {
|
|||
video::resize(w, h, scaleFactor);
|
||||
video::viewport(0, 0, _frameBufferDimension.x, _frameBufferDimension.y);
|
||||
}
|
||||
if (event.window.event == SDL_WINDOWEVENT_MOVED) {
|
||||
SDL_RaiseWindow(window);
|
||||
}
|
||||
}
|
||||
// fallthrough
|
||||
default: {
|
||||
|
|
Loading…
Reference in New Issue