summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recordmydesktop/src/register_callbacks.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/recordmydesktop/src/register_callbacks.c b/recordmydesktop/src/register_callbacks.c
index c5d22d1..e161196 100644
--- a/recordmydesktop/src/register_callbacks.c
+++ b/recordmydesktop/src/register_callbacks.c
@@ -35,9 +35,13 @@ void SetPaused(int signum){
void SetRunning(int signum){
- *Running=0;
- if(signum==SIGABRT)
- Aborted=1;
+
+ if(!Paused){
+ *Running=0;
+ if(signum==SIGABRT)
+ Aborted=1;
+ }
+
}
© All Rights Reserved