comparison src/window.c @ 16802:f5487021fdad v8.1.1403

patch 8.1.1403: cannot build without the timer feature commit https://github.com/vim/vim/commit/35d5af6c0b618aef9ca87b05b2e184934e47d916 Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 26 20:44:10 2019 +0200 patch 8.1.1403: cannot build without the timer feature Problem: Cannot build without the timer feature. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sun, 26 May 2019 20:45:05 +0200
parents 12e3a3afdb6a
children ce04ebdf26b8
comparison
equal deleted inserted replaced
16801:2d9d64daf580 16802:f5487021fdad
4857 win_unlisted(win_T *wp) 4857 win_unlisted(win_T *wp)
4858 { 4858 {
4859 return wp == aucmd_win || bt_popup(wp->w_buffer); 4859 return wp == aucmd_win || bt_popup(wp->w_buffer);
4860 } 4860 }
4861 4861
4862 #if defined(FEAT_TEXT_PROP) || defined(PROTO)
4862 /* 4863 /*
4863 * Free a popup window. This does not take the window out of the window list 4864 * Free a popup window. This does not take the window out of the window list
4864 * and assumes there is only one toplevel frame, no split. 4865 * and assumes there is only one toplevel frame, no split.
4865 */ 4866 */
4866 void 4867 void
4867 win_free_popup(win_T *win) 4868 win_free_popup(win_T *win)
4868 { 4869 {
4869 win_close_buffer(win, TRUE, FALSE); 4870 win_close_buffer(win, TRUE, FALSE);
4871 # if defined(FEAT_TIMERS)
4870 if (win->w_popup_timer != NULL) 4872 if (win->w_popup_timer != NULL)
4871 stop_timer(win->w_popup_timer); 4873 stop_timer(win->w_popup_timer);
4874 # endif
4872 vim_free(win->w_frame); 4875 vim_free(win->w_frame);
4873 win_free(win, NULL); 4876 win_free(win, NULL);
4874 } 4877 }
4878 #endif
4875 4879
4876 /* 4880 /*
4877 * Append window "wp" in the window list after window "after". 4881 * Append window "wp" in the window list after window "after".
4878 */ 4882 */
4879 void 4883 void