aboutsummaryrefslogtreecommitdiffstats
path: root/src/xfaces.c
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1996-08-31 02:43:52 +0000
committerRichard M. Stallman <[email protected]>1996-08-31 02:43:52 +0000
commitf5e278c7c920bd4c316a6103e1c5e5c71a48887a (patch)
tree27711e90ea077f2c13c8cbe1de74566a1ac0968f /src/xfaces.c
parent8a5f6f7f384a792f84e59cf7c6d30f7aae4a7f07 (diff)
(Fset_face_attribute_internal): Set mouse_face_defer flag.
Diffstat (limited to 'src/xfaces.c')
-rw-r--r--src/xfaces.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index 50a80b6f91..2d86cd6dd4 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -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;
}