… | |
… | |
678 | { |
678 | { |
679 | priv_modes |= PrivMode_menuBar; |
679 | priv_modes |= PrivMode_menuBar; |
680 | SavedModes |= PrivMode_menuBar; |
680 | SavedModes |= PrivMode_menuBar; |
681 | } |
681 | } |
682 | |
682 | |
683 | #ifdef CURSOR_BLINK |
|
|
684 | if (OPTION (Opt_cursorBlink)) |
|
|
685 | (void)gettimeofday (&lastcursorchange, NULL); |
|
|
686 | #endif |
|
|
687 | |
|
|
688 | run_command (argv); |
683 | run_command (argv); |
689 | } |
684 | } |
690 | |
685 | |
691 | /*----------------------------------------------------------------------*/ |
686 | /*----------------------------------------------------------------------*/ |
692 | void |
687 | void |
… | |
… | |
1079 | |
1074 | |
1080 | /* the vt window */ |
1075 | /* the vt window */ |
1081 | vt = XCreateSimpleWindow (disp, top, |
1076 | vt = XCreateSimpleWindow (disp, top, |
1082 | window_vt_x, |
1077 | window_vt_x, |
1083 | window_vt_y, |
1078 | window_vt_y, |
1084 | TermWin_TotalWidth (), |
1079 | width, |
1085 | TermWin_TotalHeight (), |
1080 | height, |
1086 | 0, |
1081 | 0, |
1087 | pix_colors_focused[Color_fg], |
1082 | pix_colors_focused[Color_fg], |
1088 | pix_colors_focused[Color_bg]); |
1083 | pix_colors_focused[Color_bg]); |
1089 | #ifdef DEBUG_X |
1084 | #ifdef DEBUG_X |
1090 | XStoreName (disp, vt, "vt window"); |
1085 | XStoreName (disp, vt, "vt window"); |
… | |
… | |
1108 | #if defined(MENUBAR) && (MENUBAR_MAX > 1) |
1103 | #if defined(MENUBAR) && (MENUBAR_MAX > 1) |
1109 | if (menuBar_height ()) |
1104 | if (menuBar_height ()) |
1110 | { |
1105 | { |
1111 | menuBar.win = XCreateSimpleWindow (disp, top, |
1106 | menuBar.win = XCreateSimpleWindow (disp, top, |
1112 | window_vt_x, 0, |
1107 | window_vt_x, 0, |
1113 | TermWin_TotalWidth (), |
1108 | width, |
1114 | menuBar_TotalHeight (), |
1109 | menuBar_TotalHeight (), |
1115 | 0, |
1110 | 0, |
1116 | pix_colors_focused[Color_fg], |
1111 | pix_colors_focused[Color_fg], |
1117 | pix_colors_focused[Color_scroll]); |
1112 | pix_colors_focused[Color_scroll]); |
1118 | |
1113 | |