aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Raeburn2015-10-05 11:11:32 -0400
committerKen Raeburn2015-10-08 01:44:43 -0400
commit1f37714a11ec91c6aa68a73c7ff6714b24ddadfa (patch)
tree935073d48f125c465bd88a69a8fdac398b6251e7
parentee529429775037fb2d9e78e7c86db21d7b3f4bdd (diff)
downloademacs-1f37714a11ec91c6aa68a73c7ff6714b24ddadfa.tar.gz
emacs-1f37714a11ec91c6aa68a73c7ff6714b24ddadfa.zip
Disable non-working pointerColor setting for X tooltip frame.
It generates a bunch of server traffic, but there's some bug wherein the new mouse cursor settings don't seem to get used. In most situations the cursor isn't likely to be seen anyway, so it's not urgent to fix. * src/xfns.c (x_create_tip_frame): Don't set pointerColor.
-rw-r--r--src/xfns.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c
index e4ec31597d9..9c5bc2ba09f 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -5284,8 +5284,12 @@ x_create_tip_frame (struct x_display_info *dpyinfo,
5284 "foreground", "Foreground", RES_TYPE_STRING); 5284 "foreground", "Foreground", RES_TYPE_STRING);
5285 x_default_parameter (f, parms, Qbackground_color, build_string ("white"), 5285 x_default_parameter (f, parms, Qbackground_color, build_string ("white"),
5286 "background", "Background", RES_TYPE_STRING); 5286 "background", "Background", RES_TYPE_STRING);
5287#if 0 /* This code currently doesn't work for tooltip frames; the
5288 cursor being set doesn't seem to get used. The call generates
5289 a bit of traffic, so skip it for now. */
5287 x_default_parameter (f, parms, Qmouse_color, build_string ("black"), 5290 x_default_parameter (f, parms, Qmouse_color, build_string ("black"),
5288 "pointerColor", "Foreground", RES_TYPE_STRING); 5291 "pointerColor", "Foreground", RES_TYPE_STRING);
5292#endif
5289 x_default_parameter (f, parms, Qcursor_color, build_string ("black"), 5293 x_default_parameter (f, parms, Qcursor_color, build_string ("black"),
5290 "cursorColor", "Foreground", RES_TYPE_STRING); 5294 "cursorColor", "Foreground", RES_TYPE_STRING);
5291 x_default_parameter (f, parms, Qborder_color, build_string ("black"), 5295 x_default_parameter (f, parms, Qborder_color, build_string ("black"),