mirror of https://github.com/AxioDL/boo.git
Fullscreen event fix
This commit is contained in:
parent
ff55cfd55e
commit
41cccf6b0d
|
@ -234,7 +234,7 @@ public:
|
||||||
case WM_DEVICECHANGE:
|
case WM_DEVICECHANGE:
|
||||||
return DeviceFinder::winDevChangedHandler(wParam, lParam);
|
return DeviceFinder::winDevChangedHandler(wParam, lParam);
|
||||||
|
|
||||||
case WM_SIZING:
|
case WM_SIZE:
|
||||||
case WM_MOVING:
|
case WM_MOVING:
|
||||||
case WM_SYSKEYDOWN:
|
case WM_SYSKEYDOWN:
|
||||||
case WM_KEYDOWN:
|
case WM_KEYDOWN:
|
||||||
|
|
|
@ -594,7 +594,7 @@ public:
|
||||||
HWNDEvent& e = *static_cast<HWNDEvent*>(ev);
|
HWNDEvent& e = *static_cast<HWNDEvent*>(ev);
|
||||||
switch (e.uMsg)
|
switch (e.uMsg)
|
||||||
{
|
{
|
||||||
case WM_SIZING:
|
case WM_SIZE:
|
||||||
{
|
{
|
||||||
SWindowRect rect;
|
SWindowRect rect;
|
||||||
getWindowFrame(rect.location[0], rect.location[1], rect.size[0], rect.size[1]);
|
getWindowFrame(rect.location[0], rect.location[1], rect.size[0], rect.size[1]);
|
||||||
|
|
Loading…
Reference in New Issue