summaryrefslogtreecommitdiff
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2013-09-19 14:28:37 +0300
committerEli Zaretskii <eliz@gnu.org>2013-09-19 14:28:37 +0300
commitfa93733d3481c928112d13e31c30d7d36cfa6589 (patch)
treecabfd177a15452a8f82c902903e80fbd5c63fd29 /src/dispnew.c
parent96114a3014ee886fcc653fd00fad014f0b79d7a2 (diff)
Fixed screen restoration after popping down a menu.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index fba38f1378..f1df96d75a 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -1930,6 +1930,8 @@ save_current_matrix (struct frame *f)
to->glyphs[TEXT_AREA] = xmalloc (nbytes);
memcpy (to->glyphs[TEXT_AREA], from->glyphs[TEXT_AREA], nbytes);
to->used[TEXT_AREA] = from->used[TEXT_AREA];
+ to->enabled_p = from->enabled_p;
+ to->hash = from->hash;
if (from->used[LEFT_MARGIN_AREA])
{
nbytes = from->used[LEFT_MARGIN_AREA] * sizeof (struct glyph);