Commit 881282e0 authored by Michael Natterer's avatar Michael Natterer 😴

gtk: honor entry->has_frame again draw the frame conditionally

when GtkEntry had visible windows, it was never noticed that we always
draw the frame, because the text_area window would cover it if
draw_frame was FALSE.
parent 3ec8daa6
......@@ -3370,10 +3370,10 @@ gtk_entry_draw_frame (GtkWidget *widget,
widget, "entry_bg",
x, y, width, height);
gtk_paint_shadow (style, cr,
state, priv->shadow_type,
widget, "entry", x, y, width, height);
if (GTK_ENTRY (widget)->has_frame)
gtk_paint_shadow (style, cr,
state, priv->shadow_type,
widget, "entry", x, y, width, height);
gtk_entry_draw_progress (widget, 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