clutter/enums: Correct docs about ClutterOffscreenRedirect

The default value is zero, not the flag the docs say.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/1068
This commit is contained in:
Daniel van Vugt 2020-02-19 13:43:07 +08:00 committed by Jonas Ådahl
parent 35fe6a40ed
commit b70611e3cf

View File

@ -535,7 +535,7 @@ typedef enum /*< prefix=CLUTTER_ACTOR >*/
* ClutterOffscreenRedirect: * ClutterOffscreenRedirect:
* @CLUTTER_OFFSCREEN_REDIRECT_AUTOMATIC_FOR_OPACITY: Only redirect * @CLUTTER_OFFSCREEN_REDIRECT_AUTOMATIC_FOR_OPACITY: Only redirect
* the actor if it is semi-transparent and its has_overlaps() * the actor if it is semi-transparent and its has_overlaps()
* virtual returns %TRUE. This is the default. * virtual returns %TRUE.
* @CLUTTER_OFFSCREEN_REDIRECT_ALWAYS: Always redirect the actor to an * @CLUTTER_OFFSCREEN_REDIRECT_ALWAYS: Always redirect the actor to an
* offscreen buffer even if it is fully opaque. * offscreen buffer even if it is fully opaque.
* *