unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* controlling hollow box cursor
@ 2002-04-02 16:26 Tak Ota
  2002-04-02 22:11 ` Kim F. Storm
  0 siblings, 1 reply; 4+ messages in thread
From: Tak Ota @ 2002-04-02 16:26 UTC (permalink / raw)


I've asked this before and haven't received any comments.  Could
someone comment on the following change?  The purpose of this is to
control the appearance/disappearance of hollow box cursor by the
variable `cursor-in-non-selected-windows'.  You can't comment before
trying thought, because the effect is fairly subjective.

-Tak

*** ../../tmp/emacs-21.2.50/src/xterm.c	Tue Apr  2 07:10:36 2002
--- xterm.c	Tue Apr  2 07:29:28 2002
***************
*** 11677,11683 ****
  						       &new_cursor_width);
  	  if (w->cursor_off_p)
  	    {
! 	      if (new_cursor_type == FILLED_BOX_CURSOR)
  		new_cursor_type = HOLLOW_BOX_CURSOR;
  	      else if (new_cursor_type == BAR_CURSOR && new_cursor_width > 1)
  		new_cursor_width = 1;
--- 11677,11683 ----
  						       &new_cursor_width);
  	  if (w->cursor_off_p)
  	    {
! 	      if (new_cursor_type == FILLED_BOX_CURSOR && cursor_non_selected)
  		new_cursor_type = HOLLOW_BOX_CURSOR;
  	      else if (new_cursor_type == BAR_CURSOR && new_cursor_width > 1)
  		new_cursor_width = 1;

*** ../../tmp/emacs-21.2.50/src/w32term.c	Mon Apr  1 07:47:11 2002
--- w32term.c	Tue Apr  2 07:29:11 2002
***************
*** 9774,9780 ****
  						       &new_cursor_width);
  	  if (w->cursor_off_p)
  	    {
! 	      if (new_cursor_type == FILLED_BOX_CURSOR)
  		new_cursor_type = HOLLOW_BOX_CURSOR;
  	      else if (new_cursor_type == BAR_CURSOR && new_cursor_width > 1)
  		new_cursor_width = 1;
--- 9774,9780 ----
  						       &new_cursor_width);
  	  if (w->cursor_off_p)
  	    {
! 	      if (new_cursor_type == FILLED_BOX_CURSOR && cursor_non_selected)
  		new_cursor_type = HOLLOW_BOX_CURSOR;
  	      else if (new_cursor_type == BAR_CURSOR && new_cursor_width > 1)
  		new_cursor_width = 1;

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

end of thread, other threads:[~2002-04-05  6:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-02 16:26 controlling hollow box cursor Tak Ota
2002-04-02 22:11 ` Kim F. Storm
2002-04-03 22:49   ` Richard Stallman
2002-04-05  6:09     ` Tak Ota

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).