summaryrefslogtreecommitdiff
path: root/source/vid_win.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/vid_win.c')
-rw-r--r--source/vid_win.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/source/vid_win.c b/source/vid_win.c
index ca06495..38f1706 100644
--- a/source/vid_win.c
+++ b/source/vid_win.c
@@ -571,9 +571,14 @@ LONG WINAPI Win_MainWndProc ( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
win.mouse.state = temp;
}
break;
+
case WM_HOTKEY:
return FALSE;
+ case WM_PAINT:
+ SCR_UpdateScreen();
+ break;
+
case WM_CLOSE:
PostQuitMessage( 0 );
return FALSE;
@@ -672,11 +677,12 @@ LONG WINAPI Win_MainWndProc ( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
Win_KeyEvent( wParam, lParam, qtrue );
return FALSE;
-#ifdef USE_CHAR_EVENTS
+ case WM_SYSCHAR:
case WM_CHAR:
+#if USE_CHAR_EVENTS
Key_CharEvent( wParam );
- break;
#endif
+ return FALSE;
case WM_SYSKEYUP:
case WM_KEYUP: