Skip to content
  • Alexander Larsson's avatar
    TextHandle: Don't draw handles if not visible · ebb84e8d
    Alexander Larsson authored
    When calling gtk_widget_draw() on the entry gtk_cairo_should_draw_window()
    will return TRUE for all windows. This is used when rendering a widget to
    somewhere other than the screen, and its now used for transparent widgets.
    This caused the texthandle to always draw itself and terminate the draw
    handler for the entry.
    
    Instead we now only draw the markers when really visible, plus we return
    FALSE to avoid stopping the entry drawing.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=687842
    ebb84e8d