comparison src/w32fns.c @ 15206:16d0e8c36378

(win32_wnd_proc): Disable setting of Vquit_flag at this opoint
author Geoff Voelker <voelker@cs.washington.edu>
date Fri, 10 May 1996 23:07:10 +0000
parents 0f5d6cd72e21
children 4c4924843e34
comparison
equal deleted inserted replaced
15205:0f5d6cd72e21 15206:16d0e8c36378
2963 wmsg.dwModifiers = construct_modifiers (wParam, lParam); 2963 wmsg.dwModifiers = construct_modifiers (wParam, lParam);
2964 2964
2965 enter_crit (); 2965 enter_crit ();
2966 my_post_msg (&wmsg, hwnd, msg, wParam, lParam); 2966 my_post_msg (&wmsg, hwnd, msg, wParam, lParam);
2967 2967
2968 #if 0
2968 /* Detect quit_char and set quit-flag directly. Note that we dow 2969 /* Detect quit_char and set quit-flag directly. Note that we dow
2969 this *after* posting the message to ensure the main thread will 2970 this *after* posting the message to ensure the main thread will
2970 be woken up if blocked in sys_select(). */ 2971 be woken up if blocked in sys_select(). */
2971 { 2972 {
2972 int c = wParam; 2973 int c = wParam;
2974 || wmsg.dwModifiers == RIGHT_CTRL_PRESSED)) 2975 || wmsg.dwModifiers == RIGHT_CTRL_PRESSED))
2975 c = make_ctrl_char (c) & 0377; 2976 c = make_ctrl_char (c) & 0377;
2976 if (c == quit_char) 2977 if (c == quit_char)
2977 Vquit_flag = Qt; 2978 Vquit_flag = Qt;
2978 } 2979 }
2980 #endif
2981
2979 leave_crit (); 2982 leave_crit ();
2980 break; 2983 break;
2981 2984
2982 /* Simulate middle mouse button events when left and right buttons 2985 /* Simulate middle mouse button events when left and right buttons
2983 are used together, but only if user has two button mouse. */ 2986 are used together, but only if user has two button mouse. */