Don't send input events when nothing has changed
authorThomas Perl <thp@thpinfo.com>
Mon, 17 Aug 2009 22:09:54 +0000 (00:09 +0200)
committerThomas Perl <thp@thpinfo.com>
Mon, 17 Aug 2009 22:09:54 +0000 (00:09 +0200)
commit46b92642f2b89799e38c62c24649c59bddd74268
tree46ca0a93760f75a8f367c0a3f6933fa5db4971b4
parent07e8b2e7d414aee22f7a388b12da7b941ae09a31
Don't send input events when nothing has changed

This should save bandwidth and speed up on slow links
and machines. Might introduce some bugs when the UDP
packet sent isn't received. Does not matter so much,
because input data often changes, which will lead to
a new packet to be sent.
input.h
network.c
tennix.h