From d026b9ec4798582d21dab0f384fbe77b809b7567 Mon Sep 17 00:00:00 2001 From: iovar Date: Mon, 11 Feb 2008 10:18:41 +0000 Subject: include/rmdfunc.h: removed poll_events func decl, added InitEventsPolling and EventLoop func decls include/rmdtypes.h: removed all unnecessary struct members, related to dual rect lists (mutexes, selector). git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@489 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- recordmydesktop/include/rmdfunc.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'recordmydesktop/include/rmdfunc.h') 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 @@ -35,13 +35,21 @@ /**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-\ -- cgit v1.2.3