summaryrefslogtreecommitdiff
path: root/mate-screenshot/mate-screenshot.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2013-10-02 20:23:11 +0200
committerMartin Wimpress <[email protected]>2014-01-02 11:38:45 +0000
commitdc7123530e154dc4852c7f9900e693ecce5e2e2c (patch)
tree891e960008e88e8cf3cf6b67517b341a476ec788 /mate-screenshot/mate-screenshot.c
parentc6a883437343970fdf0c3035fd95fe34f3a8f5ad (diff)
downloadmate-utils-dc7123530e154dc4852c7f9900e693ecce5e2e2c.tar.bz2
mate-utils-dc7123530e154dc4852c7f9900e693ecce5e2e2c.tar.xz
disable masking for area or window screenshots
Diffstat (limited to 'mate-screenshot/mate-screenshot.c')
-rw-r--r--mate-screenshot/mate-screenshot.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mate-screenshot/mate-screenshot.c b/mate-screenshot/mate-screenshot.c
index 77ceb3af..4243563f 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])
{