]> code.delx.au - gnu-emacs/commitdiff
(Fset_face_attribute_internal): Set mouse_face_defer flag.
authorRichard M. Stallman <rms@gnu.org>
Sat, 31 Aug 1996 02:43:52 +0000 (02:43 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 31 Aug 1996 02:43:52 +0000 (02:43 +0000)
src/xfaces.c

index 50a80b6f91c2a097320fdb06c975133aafe330ef..2d86cd6dd4123309361f266662a7dd385f7a7920 100644 (file)
@@ -1213,7 +1213,10 @@ DEFUN ("set-face-attribute-internal", Fset_face_attribute_internal,
      And we must inhibit any Expose events until the redraw is done,
      since they would try to use the invalid display faces.  */
   if (garbaged)
-    SET_FRAME_GARBAGED (f);
+    {
+      SET_FRAME_GARBAGED (f);
+      FRAME_X_DISPLAY_INFO (f)->mouse_face_defer = 1;
+    }
 
   return Qnil;
 }