unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: Default cursor for x-sensitive-text-pointer-shape
@ 2002-04-22 10:24 Simon Marshall
  0 siblings, 0 replies; 5+ messages in thread
From: Simon Marshall @ 2002-04-22 10:24 UTC (permalink / raw)
  Cc: simon

> We may as well make Emacs compatible with what users expect.  Can you
> send a patch?

Seems those who expressed a preference preferred a hand pointer.
I prefer hand2, as does netscape on my Sun box, so here's a patch.

2002-04-22  Simon Marshall  <simon@gnu.org>

	* xfns.c (x_set_mouse_color): Change default for cross_cursor
	to XC_hand2.

*** /rvcarma/marshals/ftp/emacs-pretest/src/xfns.c.~6~	Mon Mar 18 09:39:15 2002
--- /rvcarma/marshals/ftp/emacs-pretest/src/xfns.c	Mon Apr 22 10:53:22 2002
***************
*** 1517,1523 ****
  	= XCreateFontCursor (dpy, XINT (Vx_sensitive_text_pointer_shape));
      }
    else
!     cross_cursor = XCreateFontCursor (dpy, XC_crosshair);
  
    if (!NILP (Vx_window_horizontal_drag_shape))
      {
--- 1517,1523 ----
  	= XCreateFontCursor (dpy, XINT (Vx_sensitive_text_pointer_shape));
      }
    else
!     cross_cursor = XCreateFontCursor (dpy, XC_hand2);
  
    if (!NILP (Vx_window_horizontal_drag_shape))
      {

Diff finished at Mon Apr 22 11:20:09

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Default cursor for x-sensitive-text-pointer-shape
@ 2002-04-19 14:31 Marshall, Simon
  2002-04-19 16:06 ` Eli Zaretskii
  2002-04-20 17:27 ` Richard Stallman
  0 siblings, 2 replies; 5+ messages in thread
From: Marshall, Simon @ 2002-04-19 14:31 UTC (permalink / raw)


I don't know why I've never mentioned this before.  Perhaps because
there are more important things.

Anyway, I don't like the crosshairs used by default for sensitive text,
e.g., customise buttons or dired filenames.  (Naturally, a long time ago
I set x-sensitive-text-pointer-shape in my ~/.emacs.)  All other GUIs I
use use a pointer or a hand (web browsers).  It looks like tool-bar-mode
uses a pointer for buttons.

I think, if this variable is nil, some other cursor should be used.
I suggest that x_set_mouse_color defaults cross_cursor to XC_left_ptr.
Alternatives are XC_hand1 or XC_hand2.

WDYT?  Simon.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-04-22 10:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-22 10:24 Default cursor for x-sensitive-text-pointer-shape Simon Marshall
  -- strict thread matches above, loose matches on Subject: below --
2002-04-19 14:31 Marshall, Simon
2002-04-19 16:06 ` Eli Zaretskii
2002-04-19 23:07   ` Miles Bader
2002-04-20 17:27 ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).