RFC: Disabling blinking cursor by default
Caolán McNamara
caolanm at redhat.com
Tue Feb 3 23:39:03 UTC 2009
On Wed, 2009-02-04 at 00:16 +0100, Nicolas Mailhot wrote:
> Le mardi 03 février 2009 à 14:07 -0900, Jeff Spaleta a écrit :
> > On Tue, Feb 3, 2009 at 2:03 PM, Dimi Paun <dimi at lattica.com> wrote:
>
> > > Maybe. But I still don't see how you can eliminate the blinking
> > > cursor for all the other X apps.
> >
> > what other X apps have blinking cursors.
>
> A 5s check finds ... openoffice.org, ...
vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
// get cursor blink time
GtkSettings *pSettings =
gtk_widget_get_settings( gWidgetData[m_nScreen].gEditBoxWidget );
gboolean blink = false;
g_object_get( pSettings, "gtk-cursor-blink", &blink, (char *)NULL );
if!( blink )
aStyleSet.SetCursorBlinkTime( STYLE_CURSOR_NOBLINKTIME );
else
...
If gtk doesn't blink the cursor then OOo shouldn't blink either, in
theory at least.
C.
More information about the devel
mailing list