diff options
Diffstat (limited to 'recordmydesktop')
-rw-r--r-- | recordmydesktop/src/poll_damage.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/recordmydesktop/src/poll_damage.c b/recordmydesktop/src/poll_damage.c index 8f6dbf3..f388a14 100644 --- a/recordmydesktop/src/poll_damage.c +++ b/recordmydesktop/src/poll_damage.c @@ -25,7 +25,19 @@ ******************************************************************************/ -#include <recordmydesktop.h> +#ifdef HAVE_CONFIG_H + #include <config.h> +#endif + +#include <stdio.h> +#include <stdlib.h> +#include <X11/Xlib.h> +#include <X11/Xlibint.h> +#include <X11/extensions/Xdamage.h> +#include <pthread.h> +#include <rmdfunc.h> +#include <rmdtypes.h> +#include <rmdmacro.h> int rmdErrorHandler( Display *dpy, XErrorEvent *e ) { @@ -104,6 +116,7 @@ void *PollDamage(ProgData *pdata){ } } + pthread_exit(&errno); } |