(mface_put_prop): If the new value is the same as the
authorhanda <handa>
Fri, 27 Aug 2004 07:47:00 +0000 (07:47 +0000)
committerhanda <handa>
Fri, 27 Aug 2004 07:47:00 +0000 (07:47 +0000)
current one, don't increment frame->tick.

src/face.c

index eb7a0b1..ad167a0 100644 (file)
@@ -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)