diff --git a/COMPOSITE_TODO b/COMPOSITE_TODO index 142255869b..0d93e849b7 100644 --- a/COMPOSITE_TODO +++ b/COMPOSITE_TODO @@ -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 ================================= diff --git a/utils.cpp b/utils.cpp index f4b2625844..917ef44cc1 100644 --- a/utils.cpp +++ b/utils.cpp @@ -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()) {