diff options
author | Martin Rudalics <rudalics@gmx.at> | 2014-01-29 11:29:14 +0100 |
---|---|---|
committer | Martin Rudalics <rudalics@gmx.at> | 2014-01-29 11:29:14 +0100 |
commit | 5442c6cebbf80898f83d211d5b0d34cbfb289490 (patch) | |
tree | b9bb0c9e3aaf50c637902c38ac0109ec0ba4fc93 /src/w32fns.c | |
parent | b89878d380108dc479a03d1cf5bc5704ad33fbdf (diff) | |
download | emacs-5442c6cebbf80898f83d211d5b0d34cbfb289490.tar.gz emacs-5442c6cebbf80898f83d211d5b0d34cbfb289490.tar.bz2 emacs-5442c6cebbf80898f83d211d5b0d34cbfb289490.zip |
In x_set_tool_bar_lines of w32fns.c don't clear area on frames that are not visible.
* w32fns.c (x_set_tool_bar_lines): Don't clear area on frames
that are not visible.
Diffstat (limited to 'src/w32fns.c')
-rw-r--r-- | src/w32fns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32fns.c b/src/w32fns.c index 8d64af5b93d..98456cd20d4 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -1713,7 +1713,7 @@ x_set_tool_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval) /* If the tool bar gets smaller, the internal border below it has to be cleared. It was formerly part of the display of the larger tool bar, and updating windows won't clear it. */ - if (FRAME_INTERNAL_BORDER_WIDTH (f) != 0) + if (FRAME_INTERNAL_BORDER_WIDTH (f) != 0 && FRAME_VISIBLE_P (f)) { int height = FRAME_INTERNAL_BORDER_WIDTH (f); int width = FRAME_PIXEL_WIDTH (f); |