From cc11e40e72a1296fdbc2fe5915139a9de8dbabef Mon Sep 17 00:00:00 2001 From: "akkana%netscape.com" Date: Mon, 29 Mar 1999 22:02:16 +0000 Subject: [PATCH] Turn on triangle cursor temporarily for Unix, until bug 4202 gets fixed git-svn-id: svn://10.0.0.236/trunk@25457 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/generic/nsTextFrame.cpp | 11 +++++++++-- mozilla/layout/html/base/src/nsTextFrame.cpp | 11 +++++++++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/mozilla/layout/generic/nsTextFrame.cpp b/mozilla/layout/generic/nsTextFrame.cpp index 7d2b401048c..0a8910b215c 100644 --- a/mozilla/layout/generic/nsTextFrame.cpp +++ b/mozilla/layout/generic/nsTextFrame.cpp @@ -682,8 +682,15 @@ TextFrame::PrepareUnicodeText(nsTextTransformer& aTX, return numSpaces; } - -//#define SHOW_SELECTION_CURSOR // should be turned off when the caret code is activated +// +// This should be commented out, but some gfx changes on the weekend of +// 4/20-21/1999 broke caret rendering on Unix, so in a vain effort to +// get any cursor at all visible, I've uncommented this for Unix. :-( +// See http://bugzilla.mozilla.org/show_bug.cgi?id=4202 for status. +// +#ifdef XP_UNIX +#define SHOW_SELECTION_CURSOR // should be turned off when the caret code is activated +#endif #ifdef SHOW_SELECTION_CURSOR diff --git a/mozilla/layout/html/base/src/nsTextFrame.cpp b/mozilla/layout/html/base/src/nsTextFrame.cpp index 7d2b401048c..0a8910b215c 100644 --- a/mozilla/layout/html/base/src/nsTextFrame.cpp +++ b/mozilla/layout/html/base/src/nsTextFrame.cpp @@ -682,8 +682,15 @@ TextFrame::PrepareUnicodeText(nsTextTransformer& aTX, return numSpaces; } - -//#define SHOW_SELECTION_CURSOR // should be turned off when the caret code is activated +// +// This should be commented out, but some gfx changes on the weekend of +// 4/20-21/1999 broke caret rendering on Unix, so in a vain effort to +// get any cursor at all visible, I've uncommented this for Unix. :-( +// See http://bugzilla.mozilla.org/show_bug.cgi?id=4202 for status. +// +#ifdef XP_UNIX +#define SHOW_SELECTION_CURSOR // should be turned off when the caret code is activated +#endif #ifdef SHOW_SELECTION_CURSOR