Add support for tabbed menu columns

This commit is contained in:
Ray Chason
2026-08-22 10:57:24 +03:00
committed by Pasi Kallinen
parent 44b04064be
commit ae8b4bf12a
5 changed files with 177 additions and 15 deletions
+4 -1
View File
@@ -1571,7 +1571,7 @@ static XtResource resources[] = {
{ nhStr("font_map"), nhStr("Font_map"), XtRString, sizeof(String),
XtOffset(AppResources *, font_map), XtRString, nhStr("mono-10") },
{ nhStr("font_menu"), nhStr("Font_menu"), XtRString, sizeof(String),
XtOffset(AppResources *, font_menu), XtRString, nhStr("mono-10") },
XtOffset(AppResources *, font_menu), XtRString, nhStr("sans-10") },
{ nhStr("font_message"), nhStr("Font_message"), XtRString, sizeof(String),
XtOffset(AppResources *, font_message), XtRString, nhStr("sans-10") },
{ nhStr("font_status"), nhStr("Font_status"), XtRString, sizeof(String),
@@ -1646,6 +1646,9 @@ X11_init_nhwindows(int *argcp, char **argv)
Arg args[4];
uid_t savuid;
/* Request tabbed menu columns */
iflags.menu_tab_sep = TRUE;
/* Init windows to nothing. */
for (i = 0; i < MAX_WINDOWS; i++)
window_list[i].type = NHW_NONE;