… | |
… | |
1240 | |
1240 | |
1241 | #if defined(MENUBAR) && (MENUBAR_MAX > 1) |
1241 | #if defined(MENUBAR) && (MENUBAR_MAX > 1) |
1242 | if (menuBar_height ()) |
1242 | if (menuBar_height ()) |
1243 | { |
1243 | { |
1244 | menuBar.win = XCreateSimpleWindow (display->display, TermWin.parent[0], |
1244 | menuBar.win = XCreateSimpleWindow (display->display, TermWin.parent[0], |
1245 | window_vt_x, 0, |
1245 | window_vt_x, 0, |
1246 | TermWin_TotalWidth (), |
1246 | TermWin_TotalWidth (), |
1247 | menuBar_TotalHeight (), |
1247 | menuBar_TotalHeight (), |
1248 | 0, |
1248 | 0, |
1249 | PixColors[Color_fg], |
1249 | PixColors[Color_fg], |
1250 | PixColors[Color_scroll]); |
1250 | PixColors[Color_scroll]); |
1251 | |
1251 | |
1252 | #ifdef DEBUG_X |
1252 | #ifdef DEBUG_X |
1253 | XStoreName (display->display, menuBar.win, "menubar"); |
1253 | XStoreName (display->display, menuBar.win, "menubar"); |
1254 | #endif |
1254 | #endif |
1255 | |
1255 | |