ximagesink: only start event thread if needed
authorStefan Kost <ensonic@users.sf.net>
Wed, 7 Oct 2009 14:45:33 +0000 (17:45 +0300)
committerStefan Kost <ensonic@users.sf.net>
Wed, 7 Oct 2009 14:57:54 +0000 (17:57 +0300)
commit1e004cd36358af2f5323f69edfe40bfe96f602a2
tree56c061a10a0cf86d67b083b951b89feee8622a8b
parent2021791b754d9c1955b1464ae96584cd7f3d38e5
ximagesink: only start event thread if needed

The event thread is doing 20 wakeups per second to poll the events. If one
runs ximagesink with handle-events=false and handle-expose=false then we can
avoid the extra thread.
sys/ximage/ximagesink.c