carb::simplegui::kTabBarFlagNoCloseWithMiddleMouseButton

Defined in carb/simplegui/SimpleGuiTypes.h

const TabBarFlags carb::simplegui::kTabBarFlagNoCloseWithMiddleMouseButton = 1 << 3

Disable behavior of closing tabs (that are submitted with p_open != NULL) with middle mouse button. You can still repro this behavior on user’s side with if (IsItemHovered() && IsMouseClicked(2)) *p_open = false.