Fix crashes in GTK1 builds due to reuse of rendering contexts for the caret.

Bug 254049, patch by Mark Banner <mark@standard8.demon.co.uk>, r=jst, sr=roc
This commit is contained in:
bzbarsky%mit.edu 2005-02-01 21:19:05 +00:00
parent 39c443dabd
commit f01adb747a

View File

@ -70,11 +70,12 @@
// an insignificant dot
static const PRUint32 kMinBidiIndicatorPixels = 2;
#if !defined(XP_UNIX) || defined(XP_MACOSX)
#if !defined(MOZ_WIDGET_GTK2)
// Because of drawing issues, we currently always make a new RC. See bug 28068
// Before removing this, stuff will need to be fixed and tested on all platforms.
// For example, turning this off on Mac right now causes drawing problems on pages
// with form elements.
// Also turning this off caused problems on GTK1. See bug 254049.
#define DONT_REUSE_RENDERING_CONTEXT
#endif