summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-08-03 13:01:06 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-08-03 13:01:06 +0000
commit6b6ad0fb41b37864522c1711ee2d8232c289ff06 (patch)
treeee59d5070fde9d9637dbbe408191b2c4c72f9f90
parent690499793577bff2cd0269dae610669f8b8ee665 (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.c7
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,
© All Rights Reserved