From 7904fa420eb577274c4c3711295240100167d495 Mon Sep 17 00:00:00 2001 From: Martin Tournoij Date: Tue, 4 Oct 2022 16:28:45 +0100 Subject: patch 9.0.0657: too many #ifdefs 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) --- src/gui.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/gui.c') diff --git a/src/gui.c b/src/gui.c index b9217b4590..b245002da1 100644 --- a/src/gui.c +++ b/src/gui.c @@ -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) { -- cgit v1.2.3