carb::simplegui::kTabItemFlagNoCloseWithMiddleMouseButton

Defined in carb/simplegui/SimpleGuiTypes.h

const TabItemFlags carb::simplegui::kTabItemFlagNoCloseWithMiddleMouseButton = 1 << 2

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.