diff options
author | raveit65 <[email protected]> | 2013-10-02 20:23:11 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2013-11-08 16:44:47 +0100 |
commit | 422504e251442ca9921c4218151cffb6548280e6 (patch) | |
tree | 7c95090ceac4172dc85f50d80eca12a7e7bb1e69 /mate-screenshot/mate-screenshot.c | |
parent | 16b52af7ce208b7bac89ad04ae4ba4cf433103fd (diff) | |
download | mate-utils-422504e251442ca9921c4218151cffb6548280e6.tar.bz2 mate-utils-422504e251442ca9921c4218151cffb6548280e6.tar.xz |
disable masking for area or window screenshots
Diffstat (limited to 'mate-screenshot/mate-screenshot.c')
-rw-r--r-- | mate-screenshot/mate-screenshot.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mate-screenshot/mate-screenshot.c b/mate-screenshot/mate-screenshot.c index 63ec5d9b..6510f7f8 100644 --- a/mate-screenshot/mate-screenshot.c +++ b/mate-screenshot/mate-screenshot.c @@ -809,13 +809,14 @@ static void finish_prepare_screenshot (char *initial_uri, GdkWindow *window, GdkRectangle *rectangle) { ScreenshotDialog *dialog; + gboolean include_mask = (!take_window_shot && !take_area_shot); /* always disable window border for full-desktop or selected-area screenshots */ if (!take_window_shot) - screenshot = screenshot_get_pixbuf (window, rectangle, include_pointer, FALSE); + screenshot = screenshot_get_pixbuf (window, rectangle, include_pointer, FALSE, include_mask); else { - screenshot = screenshot_get_pixbuf (window, rectangle, include_pointer, include_border); + screenshot = screenshot_get_pixbuf (window, rectangle, include_pointer, include_border, include_mask); switch (border_effect[0]) { |