diff options
| -rw-r--r-- | mate-screenshot/src/mate-screenshot.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mate-screenshot/src/mate-screenshot.c b/mate-screenshot/src/mate-screenshot.c index df203a88..11e9ba09 100644 --- a/mate-screenshot/src/mate-screenshot.c +++ b/mate-screenshot/src/mate-screenshot.c @@ -1256,11 +1256,12 @@ loop_dialog_screenshot (void) } else { - if (interactive_arg) + if (interactive_arg || take_area_shot) { - /* HACK: give time to the dialog to actually disappear. + /* HACK: give time to the dialog to actually disappear or keyboard + * shortcuts to release their grab. * We don't have any way to tell when the compositor has finished - * re-drawing. + * re-drawing or when keys are un-grabbed. */ g_timeout_add (200, prepare_screenshot_timeout, NULL); |
