win.c
Condition for fullscreen keyboard shortcut (CTRL+ALT+PAGEUP)
This commit is contained in:
@@ -1798,6 +1798,9 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
|
||||
break;
|
||||
|
||||
case IDM_VID_FULLSCREEN:
|
||||
|
||||
if(video_fullscreen!=1){
|
||||
|
||||
if (video_fullscreen_first)
|
||||
{
|
||||
video_fullscreen_first = 0;
|
||||
@@ -1813,6 +1816,7 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
|
||||
leave_fullscreen_flag = 0;
|
||||
endblit();
|
||||
device_force_redraw();
|
||||
}
|
||||
break;
|
||||
|
||||
case IDM_VID_FS_FULL:
|
||||
|
Reference in New Issue
Block a user