mirror of https://github.com/GNOME/gimp.git
plug-ins: set SCREENSHOT_CAN_SHOOT_REGION on backends that support it
This commit is contained in:
parent
4d23939c3d
commit
bb9b899f37
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -556,6 +556,8 @@ screenshot_x11_get_capabilities (void)
|
|||
capabilities |= SCREENSHOT_CAN_SHOOT_POINTER;
|
||||
#endif
|
||||
|
||||
capabilities |= SCREENSHOT_CAN_SHOOT_REGION;
|
||||
|
||||
return capabilities;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue