diff options
| author | Gerd Moellmann | 1999-08-30 23:14:36 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-08-30 23:14:36 +0000 |
| commit | 110859fc3cf16f8805fc98e7f687a1fd62f0463a (patch) | |
| tree | edb0eead0de85c6c5cb16c0aae8532d393d10446 /src | |
| parent | fb5ec9cea2f88aa9cda1e22d1edefb5ad57570ae (diff) | |
| download | emacs-110859fc3cf16f8805fc98e7f687a1fd62f0463a.tar.gz emacs-110859fc3cf16f8805fc98e7f687a1fd62f0463a.zip | |
Remove unused bitmaps.
(continued_bits, continuation_bits, overlay_bits): Change images.
(x_draw_vertical_border): Use FRAME_X_RIGHT_FLAGS_AREA_WIDTH
instead of FRAME_X_FLAGS_AREA_WIDTH.
(x_after_update_window_line): Ditto.
(x_draw_bitmap): Likewise.
(x_draw_row_bitmaps): Likewise.
(x_draw_glyph_string_box): Likewise.
(x_draw_glyphs): Likewise.
(x_scroll_run): Likewise.
(expose_window_tree): Likewise.
(note_mode_line_highlight): Likewise.
(XTset_vertical_scroll_bar): Likewise.
(x_clip_to_row): Likewise.
(x_set_window_size): Likewise.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 88 |
1 files changed, 44 insertions, 44 deletions
diff --git a/src/xterm.c b/src/xterm.c index baa017361fb..99a935b2609 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -197,43 +197,42 @@ static unsigned char zv_bits[] = { | |||
| 197 | static unsigned char left_bits[] = { | 197 | static unsigned char left_bits[] = { |
| 198 | 0x18, 0x0c, 0x06, 0x3f, 0x3f, 0x06, 0x0c, 0x18}; | 198 | 0x18, 0x0c, 0x06, 0x3f, 0x3f, 0x06, 0x0c, 0x18}; |
| 199 | 199 | ||
| 200 | /* Right truncation arrow bitmap `->'. */ | ||
| 201 | |||
| 202 | #define right_width 8 | ||
| 203 | #define right_height 8 | ||
| 204 | static unsigned char right_bits[] = { | ||
| 205 | 0x18, 0x30, 0x60, 0xfc, 0xfc, 0x60, 0x30, 0x18}; | ||
| 206 | |||
| 200 | /* Marker for continued lines. */ | 207 | /* Marker for continued lines. */ |
| 201 | 208 | ||
| 202 | #define continued_width 8 | 209 | #define continued_width 8 |
| 203 | #define continued_height 8 | 210 | #define continued_height 8 |
| 204 | static unsigned char continued_bits[] = { | 211 | static unsigned char continued_bits[] = { |
| 205 | 0x30, 0x30, 0x30, 0x30, 0xb4, 0xfc, 0x78, 0x30}; | 212 | 0x3c, 0x7c, 0xc0, 0xe4, 0xfc, 0x7c, 0x3c, 0x7c}; |
| 213 | |||
| 214 | /* Marker for continuation lines. */ | ||
| 206 | 215 | ||
| 207 | #define continuation_width 8 | 216 | #define continuation_width 8 |
| 208 | #define continuation_height 8 | 217 | #define continuation_height 8 |
| 209 | static unsigned char continuation_bits[] = { | 218 | static unsigned char continuation_bits[] = { |
| 210 | 0x0c, 0x1e, 0x3f, 0x2d, 0x0c, 0x0c, 0x0c, 0x0c}; | 219 | 0x3c, 0x3e, 0x03, 0x27, 0x3f, 0x3e, 0x3c, 0x3e}; |
| 211 | 220 | ||
| 212 | /* Right truncation arrow bitmap `->'. */ | 221 | /* Overlay arrow bitmap. */ |
| 213 | 222 | ||
| 214 | #define right_width 8 | 223 | #if 0 |
| 215 | #define right_height 8 | 224 | /* A bomb. */ |
| 216 | static unsigned char right_bits[] = { | ||
| 217 | 0x18, 0x30, 0x60, 0xfc, 0xfc, 0x60, 0x30, 0x18}; | ||
| 218 | |||
| 219 | /* Overlay arrow bitmap; a filled `<>'. */ | ||
| 220 | |||
| 221 | #if 1 | ||
| 222 | #define ov_width 8 | 225 | #define ov_width 8 |
| 223 | #define ov_height 8 | 226 | #define ov_height 8 |
| 224 | static unsigned char ov_bits[] = { | 227 | static unsigned char ov_bits[] = { |
| 225 | 0x30, 0x08, 0x3c, 0x7e, 0x7a, 0x7a, 0x62, 0x3c}; | 228 | 0x30, 0x08, 0x3c, 0x7e, 0x7a, 0x7a, 0x62, 0x3c}; |
| 226 | |||
| 227 | #elif 0 | ||
| 228 | #define ov_width 8 | ||
| 229 | #define ov_height 8 | ||
| 230 | static unsigned char ov_bits[] = { | ||
| 231 | 0x18, 0x04, 0x08, 0x1c, 0x3e, 0x3a, 0x32, 0x1c}; | ||
| 232 | #else | 229 | #else |
| 230 | /* A triangular arrow. */ | ||
| 233 | #define ov_width 8 | 231 | #define ov_width 8 |
| 234 | #define ov_height 8 | 232 | #define ov_height 8 |
| 235 | static unsigned char ov_bits[] = { | 233 | static unsigned char ov_bits[] = { |
| 236 | 0x18, 0x3c, 0x7e, 0xff, 0xff, 0x7e, 0x3c, 0x18}; | 234 | 0x03, 0x0f, 0x1f, 0x3f, 0x3f, 0x1f, 0x0f, 0x03}; |
| 235 | |||
| 237 | #endif | 236 | #endif |
| 238 | 237 | ||
| 239 | extern Lisp_Object Qhelp_echo; | 238 | extern Lisp_Object Qhelp_echo; |
| @@ -642,7 +641,7 @@ x_draw_vertical_border (w) | |||
| 642 | int x0, x1, y0, y1; | 641 | int x0, x1, y0, y1; |
| 643 | 642 | ||
| 644 | window_box_edges (w, -1, &x0, &y0, &x1, &y1); | 643 | window_box_edges (w, -1, &x0, &y0, &x1, &y1); |
| 645 | x1 += FRAME_X_FLAGS_AREA_WIDTH (f); | 644 | x1 += FRAME_X_RIGHT_FLAGS_AREA_WIDTH (f); |
| 646 | y1 -= 1; | 645 | y1 -= 1; |
| 647 | 646 | ||
| 648 | XDrawLine (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), | 647 | XDrawLine (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), |
| @@ -746,7 +745,8 @@ x_after_update_window_line (desired_row) | |||
| 746 | struct frame *f = XFRAME (w->frame); | 745 | struct frame *f = XFRAME (w->frame); |
| 747 | int width = FRAME_INTERNAL_BORDER_WIDTH (f); | 746 | int width = FRAME_INTERNAL_BORDER_WIDTH (f); |
| 748 | int height = desired_row->visible_height; | 747 | int height = desired_row->visible_height; |
| 749 | int x = window_box_right (w, -1) + FRAME_X_FLAGS_AREA_WIDTH (f); | 748 | int x = (window_box_right (w, -1) |
| 749 | + FRAME_X_RIGHT_FLAGS_AREA_WIDTH (f)); | ||
| 750 | int y = WINDOW_TO_FRAME_PIXEL_Y (w, max (0, desired_row->y)); | 750 | int y = WINDOW_TO_FRAME_PIXEL_Y (w, max (0, desired_row->y)); |
| 751 | 751 | ||
| 752 | XClearArea (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), | 752 | XClearArea (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), |
| @@ -790,7 +790,7 @@ x_draw_bitmap (w, row, which) | |||
| 790 | bits = left_bits; | 790 | bits = left_bits; |
| 791 | x = (WINDOW_TO_FRAME_PIXEL_X (w, 0) | 791 | x = (WINDOW_TO_FRAME_PIXEL_X (w, 0) |
| 792 | - wd | 792 | - wd |
| 793 | - (FRAME_X_FLAGS_AREA_WIDTH (f) - wd) / 2); | 793 | - (FRAME_X_LEFT_FLAGS_AREA_WIDTH (f) - wd) / 2); |
| 794 | break; | 794 | break; |
| 795 | 795 | ||
| 796 | case OVERLAY_ARROW_BITMAP: | 796 | case OVERLAY_ARROW_BITMAP: |
| @@ -799,7 +799,7 @@ x_draw_bitmap (w, row, which) | |||
| 799 | bits = ov_bits; | 799 | bits = ov_bits; |
| 800 | x = (WINDOW_TO_FRAME_PIXEL_X (w, 0) | 800 | x = (WINDOW_TO_FRAME_PIXEL_X (w, 0) |
| 801 | - wd | 801 | - wd |
| 802 | - (FRAME_X_FLAGS_AREA_WIDTH (f) - wd) / 2); | 802 | - (FRAME_X_LEFT_FLAGS_AREA_WIDTH (f) - wd) / 2); |
| 803 | break; | 803 | break; |
| 804 | 804 | ||
| 805 | case RIGHT_TRUNCATION_BITMAP: | 805 | case RIGHT_TRUNCATION_BITMAP: |
| @@ -807,7 +807,7 @@ x_draw_bitmap (w, row, which) | |||
| 807 | h = right_height; | 807 | h = right_height; |
| 808 | bits = right_bits; | 808 | bits = right_bits; |
| 809 | x = window_box_right (w, -1); | 809 | x = window_box_right (w, -1); |
| 810 | x += (FRAME_X_FLAGS_AREA_WIDTH (f) - wd) / 2; | 810 | x += (FRAME_X_RIGHT_FLAGS_AREA_WIDTH (f) - wd) / 2; |
| 811 | break; | 811 | break; |
| 812 | 812 | ||
| 813 | case CONTINUED_LINE_BITMAP: | 813 | case CONTINUED_LINE_BITMAP: |
| @@ -815,7 +815,7 @@ x_draw_bitmap (w, row, which) | |||
| 815 | h = right_height; | 815 | h = right_height; |
| 816 | bits = continued_bits; | 816 | bits = continued_bits; |
| 817 | x = window_box_right (w, -1); | 817 | x = window_box_right (w, -1); |
| 818 | x += (FRAME_X_FLAGS_AREA_WIDTH (f) - wd) / 2; | 818 | x += (FRAME_X_RIGHT_FLAGS_AREA_WIDTH (f) - wd) / 2; |
| 819 | break; | 819 | break; |
| 820 | 820 | ||
| 821 | case CONTINUATION_LINE_BITMAP: | 821 | case CONTINUATION_LINE_BITMAP: |
| @@ -824,7 +824,7 @@ x_draw_bitmap (w, row, which) | |||
| 824 | bits = continuation_bits; | 824 | bits = continuation_bits; |
| 825 | x = (WINDOW_TO_FRAME_PIXEL_X (w, 0) | 825 | x = (WINDOW_TO_FRAME_PIXEL_X (w, 0) |
| 826 | - wd | 826 | - wd |
| 827 | - (FRAME_X_FLAGS_AREA_WIDTH (f) - wd) / 2); | 827 | - (FRAME_X_LEFT_FLAGS_AREA_WIDTH (f) - wd) / 2); |
| 828 | break; | 828 | break; |
| 829 | 829 | ||
| 830 | case ZV_LINE_BITMAP: | 830 | case ZV_LINE_BITMAP: |
| @@ -833,7 +833,7 @@ x_draw_bitmap (w, row, which) | |||
| 833 | bits = zv_bits; | 833 | bits = zv_bits; |
| 834 | x = (WINDOW_TO_FRAME_PIXEL_X (w, 0) | 834 | x = (WINDOW_TO_FRAME_PIXEL_X (w, 0) |
| 835 | - wd | 835 | - wd |
| 836 | - (FRAME_X_FLAGS_AREA_WIDTH (f) - wd) / 2); | 836 | - (FRAME_X_LEFT_FLAGS_AREA_WIDTH (f) - wd) / 2); |
| 837 | break; | 837 | break; |
| 838 | 838 | ||
| 839 | default: | 839 | default: |
| @@ -895,7 +895,7 @@ x_draw_row_bitmaps (w, row) | |||
| 895 | /* Clear flags area if no bitmap to draw or if bitmap doesn't fill | 895 | /* Clear flags area if no bitmap to draw or if bitmap doesn't fill |
| 896 | the flags area. */ | 896 | the flags area. */ |
| 897 | if (bitmap == NO_BITMAP | 897 | if (bitmap == NO_BITMAP |
| 898 | || FRAME_FLAGS_BITMAP_WIDTH (f) < FRAME_X_FLAGS_AREA_WIDTH (f) | 898 | || FRAME_FLAGS_BITMAP_WIDTH (f) < FRAME_X_LEFT_FLAGS_AREA_WIDTH (f) |
| 899 | || row->height > FRAME_FLAGS_BITMAP_HEIGHT (f)) | 899 | || row->height > FRAME_FLAGS_BITMAP_HEIGHT (f)) |
| 900 | { | 900 | { |
| 901 | /* If W has a vertical border to its left, don't draw over it. */ | 901 | /* If W has a vertical border to its left, don't draw over it. */ |
| @@ -919,11 +919,11 @@ x_draw_row_bitmaps (w, row) | |||
| 919 | XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), | 919 | XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), |
| 920 | face->gc, | 920 | face->gc, |
| 921 | (left | 921 | (left |
| 922 | - FRAME_X_FLAGS_AREA_WIDTH (f) | 922 | - FRAME_X_LEFT_FLAGS_AREA_WIDTH (f) |
| 923 | + border), | 923 | + border), |
| 924 | WINDOW_TO_FRAME_PIXEL_Y (w, max (top_line_height, | 924 | WINDOW_TO_FRAME_PIXEL_Y (w, max (top_line_height, |
| 925 | row->y)), | 925 | row->y)), |
| 926 | FRAME_X_FLAGS_AREA_WIDTH (f) - border, | 926 | FRAME_X_LEFT_FLAGS_AREA_WIDTH (f) - border, |
| 927 | row->visible_height); | 927 | row->visible_height); |
| 928 | if (!face->stipple) | 928 | if (!face->stipple) |
| 929 | XSetForeground (FRAME_X_DISPLAY (f), face->gc, face->foreground); | 929 | XSetForeground (FRAME_X_DISPLAY (f), face->gc, face->foreground); |
| @@ -944,7 +944,7 @@ x_draw_row_bitmaps (w, row) | |||
| 944 | /* Clear flags area if no bitmap to draw of if bitmap doesn't fill | 944 | /* Clear flags area if no bitmap to draw of if bitmap doesn't fill |
| 945 | the flags area. */ | 945 | the flags area. */ |
| 946 | if (bitmap == NO_BITMAP | 946 | if (bitmap == NO_BITMAP |
| 947 | || FRAME_FLAGS_BITMAP_WIDTH (f) < FRAME_X_FLAGS_AREA_WIDTH (f) | 947 | || FRAME_FLAGS_BITMAP_WIDTH (f) < FRAME_X_RIGHT_FLAGS_AREA_WIDTH (f) |
| 948 | || row->height > FRAME_FLAGS_BITMAP_HEIGHT (f)) | 948 | || row->height > FRAME_FLAGS_BITMAP_HEIGHT (f)) |
| 949 | { | 949 | { |
| 950 | int right = window_box_right (w, -1); | 950 | int right = window_box_right (w, -1); |
| @@ -965,7 +965,7 @@ x_draw_row_bitmaps (w, row) | |||
| 965 | right, | 965 | right, |
| 966 | WINDOW_TO_FRAME_PIXEL_Y (w, max (top_line_height, | 966 | WINDOW_TO_FRAME_PIXEL_Y (w, max (top_line_height, |
| 967 | row->y)), | 967 | row->y)), |
| 968 | FRAME_X_FLAGS_AREA_WIDTH (f), | 968 | FRAME_X_RIGHT_FLAGS_AREA_WIDTH (f), |
| 969 | row->visible_height); | 969 | row->visible_height); |
| 970 | if (!face->stipple) | 970 | if (!face->stipple) |
| 971 | XSetForeground (FRAME_X_DISPLAY (f), face->gc, face->foreground); | 971 | XSetForeground (FRAME_X_DISPLAY (f), face->gc, face->foreground); |
| @@ -3269,7 +3269,7 @@ x_draw_glyph_string_box (s) | |||
| 3269 | if (s->row->full_width_p | 3269 | if (s->row->full_width_p |
| 3270 | && !s->w->pseudo_window_p) | 3270 | && !s->w->pseudo_window_p) |
| 3271 | { | 3271 | { |
| 3272 | last_x += FRAME_X_FLAGS_AREA_WIDTH (s->f); | 3272 | last_x += FRAME_X_RIGHT_FLAGS_AREA_WIDTH (s->f); |
| 3273 | if (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT (s->f)) | 3273 | if (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT (s->f)) |
| 3274 | last_x += FRAME_SCROLL_BAR_WIDTH (s->f) * CANON_X_UNIT (s->f); | 3274 | last_x += FRAME_SCROLL_BAR_WIDTH (s->f) * CANON_X_UNIT (s->f); |
| 3275 | } | 3275 | } |
| @@ -4319,7 +4319,7 @@ x_draw_glyphs (w, x, row, area, start, end, hl, real_start, real_end, | |||
| 4319 | /* X is relative to the left edge of W, without scroll bars | 4319 | /* X is relative to the left edge of W, without scroll bars |
| 4320 | or flag areas. */ | 4320 | or flag areas. */ |
| 4321 | struct frame *f = XFRAME (w->frame); | 4321 | struct frame *f = XFRAME (w->frame); |
| 4322 | int width = FRAME_FLAGS_AREA_WIDTH (f); | 4322 | /* int width = FRAME_FLAGS_AREA_WIDTH (f); */ |
| 4323 | int window_left_x = WINDOW_LEFT_MARGIN (w) * CANON_X_UNIT (f); | 4323 | int window_left_x = WINDOW_LEFT_MARGIN (w) * CANON_X_UNIT (f); |
| 4324 | 4324 | ||
| 4325 | x += window_left_x; | 4325 | x += window_left_x; |
| @@ -4328,7 +4328,7 @@ x_draw_glyphs (w, x, row, area, start, end, hl, real_start, real_end, | |||
| 4328 | 4328 | ||
| 4329 | if (FRAME_HAS_VERTICAL_SCROLL_BARS (f)) | 4329 | if (FRAME_HAS_VERTICAL_SCROLL_BARS (f)) |
| 4330 | { | 4330 | { |
| 4331 | width = FRAME_SCROLL_BAR_WIDTH (f) * CANON_X_UNIT (f); | 4331 | int width = FRAME_SCROLL_BAR_WIDTH (f) * CANON_X_UNIT (f); |
| 4332 | if (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT (f)) | 4332 | if (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT (f)) |
| 4333 | last_x += width; | 4333 | last_x += width; |
| 4334 | else | 4334 | else |
| @@ -4965,8 +4965,8 @@ x_scroll_run (w, run) | |||
| 4965 | without mode lines. Include in this box the flags areas to the | 4965 | without mode lines. Include in this box the flags areas to the |
| 4966 | left and right of W. */ | 4966 | left and right of W. */ |
| 4967 | window_box (w, -1, &x, &y, &width, &height); | 4967 | window_box (w, -1, &x, &y, &width, &height); |
| 4968 | width += 2 * FRAME_X_FLAGS_AREA_WIDTH (f); | 4968 | width += FRAME_X_FLAGS_AREA_WIDTH (f); |
| 4969 | x -= FRAME_X_FLAGS_AREA_WIDTH (f); | 4969 | x -= FRAME_X_LEFT_FLAGS_AREA_WIDTH (f); |
| 4970 | 4970 | ||
| 4971 | from_y = WINDOW_TO_FRAME_PIXEL_Y (w, run->current_y); | 4971 | from_y = WINDOW_TO_FRAME_PIXEL_Y (w, run->current_y); |
| 4972 | to_y = WINDOW_TO_FRAME_PIXEL_Y (w, run->desired_y); | 4972 | to_y = WINDOW_TO_FRAME_PIXEL_Y (w, run->desired_y); |
| @@ -5127,12 +5127,12 @@ expose_window_tree (w, r) | |||
| 5127 | &window_height); | 5127 | &window_height); |
| 5128 | window_rect.x | 5128 | window_rect.x |
| 5129 | = (window_x | 5129 | = (window_x |
| 5130 | - FRAME_X_FLAGS_AREA_WIDTH (f) | 5130 | - FRAME_X_LEFT_FLAGS_AREA_WIDTH (f) |
| 5131 | - FRAME_LEFT_SCROLL_BAR_WIDTH (f) * CANON_X_UNIT (f)); | 5131 | - FRAME_LEFT_SCROLL_BAR_WIDTH (f) * CANON_X_UNIT (f)); |
| 5132 | window_rect.y = window_y; | 5132 | window_rect.y = window_y; |
| 5133 | window_rect.width | 5133 | window_rect.width |
| 5134 | = (window_width | 5134 | = (window_width |
| 5135 | + 2 * FRAME_X_FLAGS_AREA_WIDTH (f) | 5135 | + FRAME_X_FLAGS_AREA_WIDTH (f) |
| 5136 | + FRAME_SCROLL_BAR_WIDTH (f) * CANON_X_UNIT (f)); | 5136 | + FRAME_SCROLL_BAR_WIDTH (f) * CANON_X_UNIT (f)); |
| 5137 | window_rect.height | 5137 | window_rect.height |
| 5138 | = window_height + CURRENT_MODE_LINE_HEIGHT (w); | 5138 | = window_height + CURRENT_MODE_LINE_HEIGHT (w); |
| @@ -6006,7 +6006,7 @@ note_mode_line_highlight (w, x, mode_line_p) | |||
| 6006 | glyph = row->glyphs[TEXT_AREA]; | 6006 | glyph = row->glyphs[TEXT_AREA]; |
| 6007 | end = glyph + row->used[TEXT_AREA]; | 6007 | end = glyph + row->used[TEXT_AREA]; |
| 6008 | x0 = - (FRAME_LEFT_SCROLL_BAR_WIDTH (f) * CANON_X_UNIT (f) | 6008 | x0 = - (FRAME_LEFT_SCROLL_BAR_WIDTH (f) * CANON_X_UNIT (f) |
| 6009 | + FRAME_X_FLAGS_AREA_WIDTH (f)); | 6009 | + FRAME_X_LEFT_FLAGS_AREA_WIDTH (f)); |
| 6010 | while (glyph < end | 6010 | while (glyph < end |
| 6011 | && x >= x0 + glyph->pixel_width) | 6011 | && x >= x0 + glyph->pixel_width) |
| 6012 | { | 6012 | { |
| @@ -7897,12 +7897,12 @@ XTset_vertical_scroll_bar (w, portion, whole, position) | |||
| 7897 | if (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT (f)) | 7897 | if (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT (f)) |
| 7898 | pixel_left = (window_x | 7898 | pixel_left = (window_x |
| 7899 | + window_width | 7899 | + window_width |
| 7900 | + FRAME_FLAGS_AREA_WIDTH (f) | 7900 | + FRAME_LEFT_FLAGS_AREA_WIDTH (f) |
| 7901 | + scroll_bar_area_width | 7901 | + scroll_bar_area_width |
| 7902 | - pixel_width + 1); | 7902 | - pixel_width + 1); |
| 7903 | else | 7903 | else |
| 7904 | pixel_left = (window_x | 7904 | pixel_left = (window_x |
| 7905 | - FRAME_FLAGS_AREA_WIDTH (f) | 7905 | - FRAME_LEFT_FLAGS_AREA_WIDTH (f) |
| 7906 | - scroll_bar_area_width); | 7906 | - scroll_bar_area_width); |
| 7907 | 7907 | ||
| 7908 | /* Does the scroll bar exist yet? */ | 7908 | /* Does the scroll bar exist yet? */ |
| @@ -9717,8 +9717,8 @@ x_clip_to_row (w, row, gc, whole_line_p) | |||
| 9717 | the rectangle to the left and increase its width. */ | 9717 | the rectangle to the left and increase its width. */ |
| 9718 | if (whole_line_p) | 9718 | if (whole_line_p) |
| 9719 | { | 9719 | { |
| 9720 | clip_rect.x -= FRAME_X_FLAGS_AREA_WIDTH (f); | 9720 | clip_rect.x -= FRAME_X_LEFT_FLAGS_AREA_WIDTH (f); |
| 9721 | clip_rect.width += 2 * FRAME_X_FLAGS_AREA_WIDTH (f); | 9721 | clip_rect.width += FRAME_X_FLAGS_AREA_WIDTH (f); |
| 9722 | } | 9722 | } |
| 9723 | 9723 | ||
| 9724 | XSetClipRectangles (FRAME_X_DISPLAY (f), gc, 0, 0, &clip_rect, 1, Unsorted); | 9724 | XSetClipRectangles (FRAME_X_DISPLAY (f), gc, 0, 0, &clip_rect, 1, Unsorted); |
| @@ -10816,7 +10816,7 @@ x_set_window_size (f, change_gravity, cols, rows) | |||
| 10816 | ? FRAME_SCROLL_BAR_PIXEL_WIDTH (f) | 10816 | ? FRAME_SCROLL_BAR_PIXEL_WIDTH (f) |
| 10817 | : (FRAME_SCROLL_BAR_COLS (f) * FONT_WIDTH (f->output_data.x->font))); | 10817 | : (FRAME_SCROLL_BAR_COLS (f) * FONT_WIDTH (f->output_data.x->font))); |
| 10818 | f->output_data.x->flags_areas_extra | 10818 | f->output_data.x->flags_areas_extra |
| 10819 | = 2 * FRAME_FLAGS_AREA_WIDTH (f); | 10819 | = FRAME_FLAGS_AREA_WIDTH (f); |
| 10820 | pixelwidth = CHAR_TO_PIXEL_WIDTH (f, cols); | 10820 | pixelwidth = CHAR_TO_PIXEL_WIDTH (f, cols); |
| 10821 | pixelheight = CHAR_TO_PIXEL_HEIGHT (f, rows); | 10821 | pixelheight = CHAR_TO_PIXEL_HEIGHT (f, rows); |
| 10822 | 10822 | ||