comparison src/globals.h @ 22800:8e7cbf73c3a0 v8.2.1948

patch 8.2.1948: GUI: crash when handling message while closing a window Commit: https://github.com/vim/vim/commit/4778b4d0e147793a4254cbda9c0e270250e970f5 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Nov 4 11:03:12 2020 +0100 patch 8.2.1948: GUI: crash when handling message while closing a window Problem: GUI: crash when handling message while closing a window. (Srinath Avadhanula) Solution: Don't handle message while closing a window. (closes #7250)
author Bram Moolenaar <Bram@vim.org>
date Wed, 04 Nov 2020 11:15:04 +0100
parents 84fca115b1bb
children 707b90980de5
comparison
equal deleted inserted replaced
22799:6df1709467f8 22800:8e7cbf73c3a0
578 #endif 578 #endif
579 579
580 // While redrawing the screen this flag is set. It means the screen size 580 // While redrawing the screen this flag is set. It means the screen size
581 // ('lines' and 'rows') must not be changed. 581 // ('lines' and 'rows') must not be changed.
582 EXTERN int updating_screen INIT(= FALSE); 582 EXTERN int updating_screen INIT(= FALSE);
583
584 #ifdef MESSAGE_QUEUE
585 // While closing windows or buffers messages should not be handled to avoid
586 // using invalid windows or buffers.
587 EXTERN int dont_parse_messages INIT(= FALSE);
588 #endif
583 589
584 #ifdef FEAT_MENU 590 #ifdef FEAT_MENU
585 // The root of the menu hierarchy. 591 // The root of the menu hierarchy.
586 EXTERN vimmenu_T *root_menu INIT(= NULL); 592 EXTERN vimmenu_T *root_menu INIT(= NULL);
587 /* 593 /*