diff options
Diffstat (limited to 'recordmydesktop')
-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, |