From: Matthias Clasen Date: Mon, 18 May 2020 01:46:54 +0000 (-0400) Subject: docs: Tweak docs for gdk_surface_set_input_region X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~17^2~11^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=03829e191efb3e024b61a4c3b1ebfd315afcf5f9;p=gtk4.git docs: Tweak docs for gdk_surface_set_input_region --- diff --git a/gdk/gdksurface.c b/gdk/gdksurface.c index 7f89bedb8d..31fcf9659f 100644 --- a/gdk/gdksurface.c +++ b/gdk/gdksurface.c @@ -2042,17 +2042,14 @@ gdk_surface_get_root_coords (GdkSurface *surface, * corresponds to an unset bit in the mask will be passed on the * surface below @surface. * - * An input shape is typically used with RGBA surfaces. + * An input region is typically used with RGBA surfaces. * The alpha channel of the surface defines which pixels are * invisible and allows for nicely antialiased borders, - * and the input shape controls where the surface is + * and the input region controls where the surface is * “clickable”. * - * On the X11 platform, this requires version 1.1 of the - * shape extension. - * - * On the Win32 platform, this functionality is not present and the - * function does nothing. + * Use gdk_display_support_input_shapes() to find out if + * a particular backend supports input regions. */ void gdk_surface_set_input_region (GdkSurface *surface,