diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gtkext/gtkbufferdisplay.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gtkext/gtkbufferdisplay.c b/src/gtkext/gtkbufferdisplay.c index d8061d7..a1833a6 100644 --- a/src/gtkext/gtkbufferdisplay.c +++ b/src/gtkext/gtkbufferdisplay.c @@ -525,14 +525,14 @@ static gboolean gtk_buffer_display_draw(GtkWidget *widget, cairo_t *cr) } - /* Curseur clignotant ? */ + cairo_restore(cr); - if (gtk_widget_is_focus(widget)) - gtk_buffer_display_draw_caret(display, cr); + /* Curseur clignotant ? */ cairo_restore(cr); - cairo_restore(cr); + if (gtk_widget_is_focus(widget)) + gtk_buffer_display_draw_caret(display, cr); cairo_restore(cr); |