cursorPos() needs fixing

svn path=/branches/work/kwin_composite/; revision=645024
This commit is contained in:
Luboš Luňák 2007-03-21 15:06:31 +00:00
parent 61f99cf2f0
commit ff643184cf
2 changed files with 3 additions and 0 deletions

View file

@ -69,6 +69,8 @@ General TODO
* - perhaps there should be an option not to unmap windows in order to always have live thumbnails
* - another option could be to unmap but quickly map when a live thumbnail is needed
* cursorPos() does not work reliably now (not from e.g. timers, it needs events), so it's disabled
OpenGL TODO
=================================

View file

@ -430,6 +430,7 @@ static Time last_cursor_timestamp = CurrentTime;
QPoint cursorPos()
{
last_cursor_timestamp = CurrentTime;
if( last_cursor_timestamp == CurrentTime
|| last_cursor_timestamp != QX11Info::appTime())
{