diff options
author | Martin Tournoij <martin@arp242.net> | 2022-10-04 16:28:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-10-04 16:28:45 +0100 |
commit | 7904fa420eb577274c4c3711295240100167d495 (patch) | |
tree | a38ab30cb4c947c2ebba45cd7ed711ffd2e719a7 /src/gui.c | |
parent | 4ba5f1dab656103e8f4a4505452d1816b9e83c1e (diff) |
patch 9.0.0657: too many #ifdefsv9.0.0657
Problem: Too many #ifdefs.
Solution: Graduate the +cmdwin feature. Now the tiny and small builds are
equal, drop the small build. (Martin Tournoij, closes #11268)
Diffstat (limited to 'src/gui.c')
-rw-r--r-- | src/gui.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -3844,11 +3844,7 @@ send_tabline_event(int nr) return FALSE; // Don't put events in the input queue now. - if (hold_gui_events -# ifdef FEAT_CMDWIN - || cmdwin_type != 0 -# endif - ) + if (hold_gui_events || cmdwin_type != 0) { // Set it back to the current tab page. gui_mch_set_curtab(tabpage_index(curtab)); @@ -3993,10 +3989,8 @@ gui_drag_scrollbar(scrollbar_T *sb, long value, int still_dragging) if (hold_gui_events) return; -#ifdef FEAT_CMDWIN if (cmdwin_type != 0 && sb->wp != curwin) return; -#endif if (still_dragging) { |