From 62f77fab4e243f557ed9f9ec9d25e6690f935951 Mon Sep 17 00:00:00 2001 From: handa Date: Fri, 27 Aug 2004 07:47:00 +0000 Subject: [PATCH] (mface_put_prop): If the new value is the same as the current one, don't increment frame->tick. --- src/face.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/face.c b/src/face.c index eb7a0b1..ad167a0 100644 --- a/src/face.c +++ b/src/face.c @@ -1723,6 +1723,9 @@ mface_put_prop (MFace *face, MSymbol key, void *val) val = get_hline_create (val); else if (key == Mbox) val = get_box_create (val); + + if (face->properties[index] == val) + return 0; face->property[index] = val; MPLIST_DO (plist, face->frame_list) -- 1.7.10.4