diff options
author | Simon Ser <contact@emersion.fr> | 2023-02-27 17:36:03 +0100 |
---|---|---|
committer | Olivier Fourdan <fourdan@gmail.com> | 2023-03-03 18:28:40 +0000 |
commit | 21b3dad2380639573c251d95910bcb644049ee5f (patch) | |
tree | 3d2c058be561e18397c5309887ecefe53af0edbd /include | |
parent | 6f0b9deed66882aa18983eb35abca45207e37316 (diff) |
Allow disabling the SHAPE extension at runtime
To correctly render a window making use of SHAPE, a compositor
must query the shape rectangles. This may not be a desirable
feature for a Wayland compositor. Allow SHAPE to be turned off at
runtime, so that the compositor can opt-out.
Signed-off-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to 'include')
-rw-r--r-- | include/extinit.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/extinit.h b/include/extinit.h index 46081ad30..59d18962f 100644 --- a/include/extinit.h +++ b/include/extinit.h @@ -108,6 +108,7 @@ extern _X_EXPORT Bool noScreenSaverExtension; extern void ScreenSaverExtensionInit(void); #endif +extern _X_EXPORT Bool noShapeExtension; extern void ShapeExtensionInit(void); #ifdef MITSHM |