summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--damageext/damageext.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/damageext/damageext.c b/damageext/damageext.c
index d6469230d..5650953f2 100644
--- a/damageext/damageext.c
+++ b/damageext/damageext.c
@@ -725,6 +725,8 @@ void
PanoramiXDamageInit(void)
{
XRT_DAMAGE = CreateNewResourceType(PanoramiXDamageDelete, "XineramaDamage");
+ if (!XRT_DAMAGE)
+ FatalError("Couldn't Xineramify Damage extension\n");
PanoramiXSaveDamageCreate = ProcDamageVector[X_DamageCreate];
ProcDamageVector[X_DamageCreate] = PanoramiXDamageCreate;