diff options
| author | Gerd Moellmann | 1999-10-06 23:05:32 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-10-06 23:05:32 +0000 |
| commit | 52377a47b0f120f77008cfc73384617870cf4896 (patch) | |
| tree | 073d1aca43b715899e3b558e5d4265ff759e1b57 /src | |
| parent | 8317e10427925bac2e555ea6074b5e00ec1d4ffd (diff) | |
| download | emacs-52377a47b0f120f77008cfc73384617870cf4896.tar.gz emacs-52377a47b0f120f77008cfc73384617870cf4896.zip | |
(display_menu_bar): Use MENU_FACE_ID instead of
MODE_LINE_FACE_ID.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index e71ffaac152..b940db57013 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -11329,7 +11329,7 @@ display_menu_bar (w) | |||
| 11329 | 11329 | ||
| 11330 | #ifdef USE_X_TOOLKIT | 11330 | #ifdef USE_X_TOOLKIT |
| 11331 | xassert (!FRAME_WINDOW_P (f)); | 11331 | xassert (!FRAME_WINDOW_P (f)); |
| 11332 | init_iterator (&it, w, -1, -1, f->desired_matrix->rows, MODE_LINE_FACE_ID); | 11332 | init_iterator (&it, w, -1, -1, f->desired_matrix->rows, MENU_FACE_ID); |
| 11333 | it.first_visible_x = 0; | 11333 | it.first_visible_x = 0; |
| 11334 | it.last_visible_x = FRAME_WINDOW_WIDTH (f) * CANON_X_UNIT (f); | 11334 | it.last_visible_x = FRAME_WINDOW_WIDTH (f) * CANON_X_UNIT (f); |
| 11335 | #else /* not USE_X_TOOLKIT */ | 11335 | #else /* not USE_X_TOOLKIT */ |
| @@ -11341,7 +11341,7 @@ display_menu_bar (w) | |||
| 11341 | xassert (WINDOWP (f->menu_bar_window)); | 11341 | xassert (WINDOWP (f->menu_bar_window)); |
| 11342 | menu_w = XWINDOW (f->menu_bar_window); | 11342 | menu_w = XWINDOW (f->menu_bar_window); |
| 11343 | init_iterator (&it, menu_w, -1, -1, menu_w->desired_matrix->rows, | 11343 | init_iterator (&it, menu_w, -1, -1, menu_w->desired_matrix->rows, |
| 11344 | MODE_LINE_FACE_ID); | 11344 | MENU_FACE_ID); |
| 11345 | it.first_visible_x = 0; | 11345 | it.first_visible_x = 0; |
| 11346 | it.last_visible_x = FRAME_WINDOW_WIDTH (f) * CANON_X_UNIT (f); | 11346 | it.last_visible_x = FRAME_WINDOW_WIDTH (f) * CANON_X_UNIT (f); |
| 11347 | } | 11347 | } |
| @@ -11350,7 +11350,7 @@ display_menu_bar (w) | |||
| 11350 | /* This is a TTY frame, i.e. character hpos/vpos are used as | 11350 | /* This is a TTY frame, i.e. character hpos/vpos are used as |
| 11351 | pixel x/y. */ | 11351 | pixel x/y. */ |
| 11352 | init_iterator (&it, w, -1, -1, f->desired_matrix->rows, | 11352 | init_iterator (&it, w, -1, -1, f->desired_matrix->rows, |
| 11353 | MODE_LINE_FACE_ID); | 11353 | MENU_FACE_ID); |
| 11354 | it.first_visible_x = 0; | 11354 | it.first_visible_x = 0; |
| 11355 | it.last_visible_x = FRAME_WIDTH (f); | 11355 | it.last_visible_x = FRAME_WIDTH (f); |
| 11356 | } | 11356 | } |