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

Diff of /emacs/src/xfns.c

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

revision 1.630 by jhd, Mon Feb 7 20:00:07 2005 UTC revision 1.631 by jhd, Mon Feb 7 21:31:28 2005 UTC
# Line 1398  x_set_tool_bar_lines (f, value, oldval) Line 1398  x_set_tool_bar_lines (f, value, oldval)
1398        int width = FRAME_PIXEL_WIDTH (f);        int width = FRAME_PIXEL_WIDTH (f);
1399        int y = nlines * FRAME_LINE_HEIGHT (f);        int y = nlines * FRAME_LINE_HEIGHT (f);
1400    
1401        BLOCK_INPUT;        /* height can be zero here. */
1402        x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),        if (height > 0 && width > 0)
1403                      0, y, width, height, False);          {
1404        UNBLOCK_INPUT;            BLOCK_INPUT;
1405              x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
1406                            0, y, width, height, False);
1407              UNBLOCK_INPUT;
1408            }
1409    
1410        if (WINDOWP (f->tool_bar_window))        if (WINDOWP (f->tool_bar_window))
1411          clear_glyph_matrix (XWINDOW (f->tool_bar_window)->current_matrix);          clear_glyph_matrix (XWINDOW (f->tool_bar_window)->current_matrix);

Legend:
Removed from v.1.630  
changed lines
  Added in v.1.631

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