diff --git a/lib/screenshooter-capture.c b/lib/screenshooter-capture.c index c747770..fe8854f 100644 --- a/lib/screenshooter-capture.c +++ b/lib/screenshooter-capture.c @@ -923,9 +923,9 @@ static GdkPixbuf gtk_widget_grab_focus (window); gdk_display_flush (display); - /* Wait 100ms before grabbing devices, useful when invoked by global hotkey + /* Wait 200ms before grabbing devices, useful when invoked by global hotkey * because xfsettings will grab the key for a moment */ - g_usleep(100000); + g_usleep(200000); /* Grab the mouse and the keyboard to prevent any interaction with other * applications */ @@ -1235,9 +1235,9 @@ static GdkPixbuf xhair_cursor = gdk_cursor_new_for_display (gdk_display_get_default (), GDK_CROSSHAIR); - /* Wait 100ms before grabbing devices, useful when invoked by global hotkey + /* Wait 200ms before grabbing devices, useful when invoked by global hotkey * because xfsettings will grab the key for a moment */ - g_usleep(100000); + g_usleep(200000); gdk_window_show_unraised (root_window);