/[emacs]/emacs/src/xterm.c
ViewVC logotype

Diff of /emacs/src/xterm.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.650.4.4 by gerd, Wed Oct 24 09:17:41 2001 UTC revision 1.650.4.5 by gerd, Wed Oct 24 14:06:22 2001 UTC
# Line 9197  XTset_vertical_scroll_bar (w, portion, w Line 9197  XTset_vertical_scroll_bar (w, portion, w
9197    /* Does the scroll bar exist yet?  */    /* Does the scroll bar exist yet?  */
9198    if (NILP (w->vertical_scroll_bar))    if (NILP (w->vertical_scroll_bar))
9199      {      {
       BLOCK_INPUT;  
9200        if (width && height)        if (width && height)
9201          x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),          {
9202                        left, top, width, height, False);            BLOCK_INPUT;
9203        UNBLOCK_INPUT;            x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
9204                            left, top, width, height, False);
9205              UNBLOCK_INPUT;
9206            }
9207          
9208        bar = x_scroll_bar_create (w, top, sb_left, sb_width, height);        bar = x_scroll_bar_create (w, top, sb_left, sb_width, height);
9209      }      }
9210    else    else
# Line 9262  XTset_vertical_scroll_bar (w, portion, w Line 9265  XTset_vertical_scroll_bar (w, portion, w
9265          int rest = area_width - sb_width;          int rest = area_width - sb_width;
9266          if (rest > 0)          if (rest > 0)
9267            x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),            x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
9268                          left + area_width -  rest, 0,                          left + area_width -  rest, top,
9269                          rest, max (height, 1), False);                          rest, max (height, 1), False);
9270        }        }
9271                

Legend:
Removed from v.1.650.4.4  
changed lines
  Added in v.1.650.4.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26