mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-05 13:30:34 +00:00
Merge pull request #852 from OTHGMars/WinShiftArrow
WinKey+Shift+L/R Arrow handler.
This commit is contained in:
commit
a4cda42328
1 changed files with 5 additions and 0 deletions
|
|
@ -672,6 +672,11 @@ void PlatformWindowSDL::_processSDLEvent(SDL_Event &evt)
|
|||
case SDL_WINDOWEVENT_RESTORED:
|
||||
Con::setBoolVariable("pref::Video::isMaximized", false);
|
||||
break;
|
||||
case SDL_WINDOWEVENT_DISPLAY_CHANGED:
|
||||
Con::printf("Window moved to display #%d", evt.window.data1);
|
||||
Con::setIntVariable("pref::Video::deviceId", evt.window.data1);
|
||||
Con::evaluate("configureCanvas();");
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue