mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +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:
|
case SDL_WINDOWEVENT_RESTORED:
|
||||||
Con::setBoolVariable("pref::Video::isMaximized", false);
|
Con::setBoolVariable("pref::Video::isMaximized", false);
|
||||||
break;
|
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:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue