diff options
Diffstat (limited to 'recordmydesktop/include/rmdfunc.h')
-rw-r--r-- | recordmydesktop/include/rmdfunc.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/recordmydesktop/include/rmdfunc.h b/recordmydesktop/include/rmdfunc.h index f7afe3b..4ee82b7 100644 --- a/recordmydesktop/include/rmdfunc.h +++ b/recordmydesktop/include/rmdfunc.h @@ -36,12 +36,20 @@ /**Function prototypes*/ /** +* Start listening to damage and substructure notify events +* (needed before EventLoop call) +* \param pdata ProgData struct containing all program data +*/ +void InitEventsPolling(ProgData *pdata); + + +/** * Loop calling XNextEvent.Retrieve and place on * list damage events that arive, create damage for new windows * and pickup key events for shortcuts. * \param pdata ProgData struct containing all program data */ -void *PollEvents(ProgData *pdata); +void EventLoop(ProgData *pdata); /** * Loop ,signal timer cond var,sleep-\ |