From 6b6ad0fb41b37864522c1711ee2d8232c289ff06 Mon Sep 17 00:00:00 2001 From: iovar Date: Fri, 3 Aug 2007 13:01:06 +0000 Subject: queryextensions.c: recordMyDesktop can run now without the presence of XDamage, if --full-shots is specified. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@397 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- recordmydesktop/src/queryextensions.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'recordmydesktop/src/queryextensions.c') diff --git a/recordmydesktop/src/queryextensions.c b/recordmydesktop/src/queryextensions.c index 8d6413c..6a380c5 100644 --- a/recordmydesktop/src/queryextensions.c +++ b/recordmydesktop/src/queryextensions.c @@ -37,8 +37,11 @@ void QueryExtensions(Display *dpy, shm_event_base, shm_error_base; - if(!XDamageQueryExtension( dpy, damage_event, damage_error)){ - fprintf(stderr,"XDamage extension not found!!!\n"); + if((!(args->full_shots))&&(!XDamageQueryExtension( dpy, damage_event, damage_error))){ + fprintf(stderr,"XDamage extension not found!!!\n" + "Try again using the --full-shots option, though\n" + "enabling XDamage is highly recommended,\n" + "for performance reasons.\n"); exit(4); } if((!args->noshared)&&(!XQueryExtension(dpy, -- cgit v1.2.3