Commit d4e8a501 authored by Matthias Clasen's avatar Matthias Clasen

GtkTextHandle: Better draw() implementation

Conceptually, text handles are boxes, whose content is a 'handle',
so draw background, frame and handle. With this, and the previous
commit, the cursor-handle theming in Adwaita now works as intended.
parent f8950bf8
......@@ -129,6 +129,8 @@ _gtk_text_handle_draw (GtkTextHandle *handle,
gtk_render_background (context, cr, 0, 0, width, height);
gtk_render_frame (context, cr, 0, 0, width, height);
gtk_render_handle (context, cr, 0, 0, width, height);
gtk_style_context_restore (context);
cairo_restore (cr);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment