diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-05-05 15:55:44 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-05-05 16:19:32 -0400 |
commit | b7f5f1ecee467650cd804d604f50988298c81d64 (patch) | |
tree | 4c18f8e83c56437bcf438996c3ee525a75ae6416 | |
parent | a6a56f0bc87418c5f88a5947a4ce63e5cbe44ec4 (diff) | |
download | gtk+-magnifier-shadow.tar.gz |
builder-tool: screenshot shadowsmagnifier-shadow
This is usually what is wanted.
-rw-r--r-- | tools/gtk-builder-tool-screenshot.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gtk-builder-tool-screenshot.c b/tools/gtk-builder-tool-screenshot.c index 17c3731d98..4cc260b2ad 100644 --- a/tools/gtk-builder-tool-screenshot.c +++ b/tools/gtk-builder-tool-screenshot.c @@ -100,6 +100,7 @@ snapshot_widget (GtkWidget *widget) * to delay the snapshot. */ paintable = gtk_widget_paintable_new (widget); + gtk_widget_paintable_set_observed_area (GTK_WIDGET_PAINTABLE (paintable), GTK_WIDGET_PAINTABLE_AREA_RENDERED); g_signal_connect (paintable, "invalidate-contents", G_CALLBACK (draw_paintable), &texture); g_main_loop_run (loop); |