plug-ins: set SCREENSHOT_CAN_SHOOT_REGION on backends that support it

This commit is contained in:
Michael Natterer 2016-05-31 01:19:12 +02:00
parent 4d23939c3d
commit bb9b899f37
3 changed files with 6 additions and 2 deletions

View File

@ -70,7 +70,8 @@ ScreenshotCapabilities
screenshot_gnome_shell_get_capabilities (void)
{
return (SCREENSHOT_CAN_SHOOT_DECORATIONS |
SCREENSHOT_CAN_SHOOT_POINTER);
SCREENSHOT_CAN_SHOOT_POINTER |
SCREENSHOT_CAN_SHOOT_REGION);
}
GimpPDBStatusType

View File

@ -66,7 +66,8 @@ ScreenshotCapabilities
screenshot_osx_get_capabilities (void)
{
return (SCREENSHOT_CAN_SHOOT_DECORATIONS |
SCREENSHOT_CAN_SHOOT_POINTER);
SCREENSHOT_CAN_SHOOT_POINTER |
SCREENSHOT_CAN_SHOOT_REGION);
}
GimpPDBStatusType

View File

@ -556,6 +556,8 @@ screenshot_x11_get_capabilities (void)
capabilities |= SCREENSHOT_CAN_SHOOT_POINTER;
#endif
capabilities |= SCREENSHOT_CAN_SHOOT_REGION;
return capabilities;
}