commit | 646998a6ce14321d5facefca84602fbdca9a9e62 | [log] [tgz] |
---|---|---|
author | Constantin Kaplinsky <const@tightvnc.com> | Tue Oct 09 09:31:41 2007 +0000 |
committer | Constantin Kaplinsky <const@tightvnc.com> | Tue Oct 09 09:31:41 2007 +0000 |
tree | d3428eaa62b952133fc00911f1b289c06d766af8 | |
parent | d0b15c6d15ddf619dbacb99616eee9bb67feb80e [diff] |
Optimized detectVideo() function. Now it does the most work only when needed, not each time it's called. The video rectangle (m_videoRect) is now a member variable so it's remembered between calls to poll(). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2352 3789f03b-4d11-0410-bbf8-ca57d06f2519