plug-ins: Restore screenshot delay on Windows

Resolves #10802.
Since the GimpProcedureDialog port, the Windows version
of the Screenshot plug-in has been missing the
"Screenshot Delay" option. This is because Windows did not
have the SCREENSHOT_CAN_DELAY_WINDOW_SHOT enum
set. Adding that back in restores the option.
This commit is contained in:
Alx Sa 2024-02-11 17:11:45 +00:00
parent 1a041b65d1
commit 8285795367
1 changed files with 2 additions and 1 deletions

View File

@ -152,7 +152,8 @@ screenshot_win32_get_capabilities (void)
{
return (SCREENSHOT_CAN_SHOOT_DECORATIONS |
SCREENSHOT_CAN_SHOOT_WINDOW |
SCREENSHOT_CAN_SHOOT_POINTER);
SCREENSHOT_CAN_SHOOT_POINTER |
SCREENSHOT_CAN_DELAY_WINDOW_SHOT);
}
GimpPDBStatusType