diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2008-02-11 10:18:41 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2008-02-11 10:18:41 +0000 |
commit | d026b9ec4798582d21dab0f384fbe77b809b7567 (patch) | |
tree | 1c76cf48f96e24dc43ea0353019242eb372c76aa /recordmydesktop/include/rmdfunc.h | |
parent | 323be91b9e01f800ec989dbec6445911be1d267f (diff) |
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
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-\ |