diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-08-03 13:01:06 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-08-03 13:01:06 +0000 |
commit | 6b6ad0fb41b37864522c1711ee2d8232c289ff06 (patch) | |
tree | ee59d5070fde9d9637dbbe408191b2c4c72f9f90 | |
parent | 690499793577bff2cd0269dae610669f8b8ee665 (diff) |
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
-rw-r--r-- | recordmydesktop/src/queryextensions.c | 7 |
1 files changed, 5 insertions, 2 deletions
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, |