diff options
author | Ken Raeburn <raeburn@raeburn.org> | 2015-10-05 11:11:32 -0400 |
---|---|---|
committer | Ken Raeburn <raeburn@raeburn.org> | 2015-10-08 01:44:43 -0400 |
commit | 1f37714a11ec91c6aa68a73c7ff6714b24ddadfa (patch) | |
tree | 935073d48f125c465bd88a69a8fdac398b6251e7 /src/xfns.c | |
parent | ee529429775037fb2d9e78e7c86db21d7b3f4bdd (diff) | |
download | emacs-1f37714a11ec91c6aa68a73c7ff6714b24ddadfa.tar.gz emacs-1f37714a11ec91c6aa68a73c7ff6714b24ddadfa.tar.bz2 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.
Diffstat (limited to 'src/xfns.c')
-rw-r--r-- | src/xfns.c | 4 |
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, "foreground", "Foreground", RES_TYPE_STRING); x_default_parameter (f, parms, Qbackground_color, build_string ("white"), "background", "Background", RES_TYPE_STRING); +#if 0 /* This code currently doesn't work for tooltip frames; the + cursor being set doesn't seem to get used. The call generates + a bit of traffic, so skip it for now. */ x_default_parameter (f, parms, Qmouse_color, build_string ("black"), "pointerColor", "Foreground", RES_TYPE_STRING); +#endif x_default_parameter (f, parms, Qcursor_color, build_string ("black"), "cursorColor", "Foreground", RES_TYPE_STRING); x_default_parameter (f, parms, Qborder_color, build_string ("black"), |