This is an automated email from the git hooks/post-receive script. a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository apps/xfce4-screenshooter.
commit 086bd03b1a31a3c76040b9eab9e6a043404693a0 Author: Andre Miranda <andre...@xfce.org> Date: Wed Mar 6 13:07:26 2019 -0300 Clean up size window --- lib/screenshooter-capture.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/screenshooter-capture.c b/lib/screenshooter-capture.c index e9b589d..4f83149 100644 --- a/lib/screenshooter-capture.c +++ b/lib/screenshooter-capture.c @@ -981,9 +981,6 @@ static GdkPixbuf gtk_widget_grab_focus (window); gdk_display_flush (display); - /* set up the window showing the screenshot size */ - create_size_window (&rbdata); - /* Wait 100ms before grabbing devices, useful when invoked by global hotkey * because xfsettings will grab the key for a moment */ g_usleep(100000); @@ -1023,6 +1020,8 @@ static GdkPixbuf g_warning ("Failed to grab pointer"); return NULL; } + /* set up the window showing the screenshot size */ + create_size_window (&rbdata); gtk_dialog_run (GTK_DIALOG (window)); gtk_widget_destroy (window); @@ -1043,6 +1042,7 @@ static GdkPixbuf /* Ungrab the mouse and the keyboard */ gdk_device_ungrab (pointer, GDK_CURRENT_TIME); gdk_device_ungrab (keyboard, GDK_CURRENT_TIME); + gtk_widget_destroy (rbdata.size_window); gdk_display_flush (display); return screenshot; -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits