mirror of
https://github.com/vim/vim.git
synced 2025-10-08 06:04:08 -04:00
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)
This commit is contained in:
committed by
Bram Moolenaar
parent
4ba5f1dab6
commit
7904fa420e
@@ -3311,11 +3311,7 @@ on_tabline_menu(GtkWidget *widget, GdkEvent *event)
|
||||
|
||||
// When ignoring events return TRUE so that the selected page doesn't
|
||||
// change.
|
||||
if (hold_gui_events
|
||||
# ifdef FEAT_CMDWIN
|
||||
|| cmdwin_type != 0
|
||||
# endif
|
||||
)
|
||||
if (hold_gui_events || cmdwin_type != 0)
|
||||
return TRUE;
|
||||
|
||||
tabwin = gui_gtk_window_at_position(gui.mainwin, &x, &y);
|
||||
|
Reference in New Issue
Block a user