comparison src/w32inevt.c @ 24937:42f29912dc46

(w32_console_read_socket): Use new variable w32_use_full_screen_buffer.
author Andrew Innes <andrewi@gnu.org>
date Fri, 09 Jul 1999 13:36:55 +0000
parents 4582b492a651
children 22e4449438ff
comparison
equal deleted inserted replaced
24936:10d20f341dee 24937:42f29912dc46
46 /* from keyboard.c */ 46 /* from keyboard.c */
47 extern void reinvoke_input_signal (void); 47 extern void reinvoke_input_signal (void);
48 48
49 /* from dispnew.c */ 49 /* from dispnew.c */
50 extern int change_frame_size (FRAME_PTR, int, int, int, int); 50 extern int change_frame_size (FRAME_PTR, int, int, int, int);
51
52 /* from w32console.c */
53 extern int w32_use_full_screen_buffer;
51 54
52 /* from w32fns.c */ 55 /* from w32fns.c */
53 extern Lisp_Object Vw32_alt_is_meta; 56 extern Lisp_Object Vw32_alt_is_meta;
54 extern unsigned int map_keypad_keys (unsigned int, unsigned int); 57 extern unsigned int map_keypad_keys (unsigned int, unsigned int);
55 58
686 bufp += add; 689 bufp += add;
687 ret += add; 690 ret += add;
688 numchars -= add; 691 numchars -= add;
689 break; 692 break;
690 693
691 #if 0
692 case WINDOW_BUFFER_SIZE_EVENT: 694 case WINDOW_BUFFER_SIZE_EVENT:
693 resize_event (&queue_ptr->Event.WindowBufferSizeEvent); 695 if (w32_use_full_screen_buffer)
696 resize_event (&queue_ptr->Event.WindowBufferSizeEvent);
694 break; 697 break;
695 #endif
696 698
697 case MENU_EVENT: 699 case MENU_EVENT:
698 case FOCUS_EVENT: 700 case FOCUS_EVENT:
699 /* Internal event types, ignored. */ 701 /* Internal event types, ignored. */
700 break; 702 break;
709 } 711 }
710 712
711 /* We don't get told about changes in the window size (only the buffer 713 /* We don't get told about changes in the window size (only the buffer
712 size, which we no longer care about), so we have to check it 714 size, which we no longer care about), so we have to check it
713 periodically. */ 715 periodically. */
714 maybe_generate_resize_event (); 716 if (!w32_use_full_screen_buffer)
717 maybe_generate_resize_event ();
715 718
716 UNBLOCK_INPUT; 719 UNBLOCK_INPUT;
717 return ret; 720 return ret;
718 } 721 }