[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/xfns.c
From: |
Jan Djärv |
Subject: |
[Emacs-diffs] Changes to emacs/src/xfns.c |
Date: |
Mon, 07 Feb 2005 16:31:29 -0500 |
Index: emacs/src/xfns.c
diff -c emacs/src/xfns.c:1.630 emacs/src/xfns.c:1.631
*** emacs/src/xfns.c:1.630 Mon Feb 7 20:00:07 2005
--- emacs/src/xfns.c Mon Feb 7 21:31:28 2005
***************
*** 1398,1407 ****
int width = FRAME_PIXEL_WIDTH (f);
int y = nlines * FRAME_LINE_HEIGHT (f);
! BLOCK_INPUT;
! x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
! 0, y, width, height, False);
! UNBLOCK_INPUT;
if (WINDOWP (f->tool_bar_window))
clear_glyph_matrix (XWINDOW (f->tool_bar_window)->current_matrix);
--- 1398,1411 ----
int width = FRAME_PIXEL_WIDTH (f);
int y = nlines * FRAME_LINE_HEIGHT (f);
! /* height can be zero here. */
! if (height > 0 && width > 0)
! {
! BLOCK_INPUT;
! x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
! 0, y, width, height, False);
! UNBLOCK_INPUT;
! }
if (WINDOWP (f->tool_bar_window))
clear_glyph_matrix (XWINDOW (f->tool_bar_window)->current_matrix);