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)
diff --git a/src/gui.c b/src/gui.c
index b9217b4..b245002 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -3844,11 +3844,7 @@
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 @@
if (hold_gui_events)
return;
-#ifdef FEAT_CMDWIN
if (cmdwin_type != 0 && sb->wp != curwin)
return;
-#endif
if (still_dragging)
{