<html><head></head><body>Better remove the current thing entirely and program a timer event from the windowing system, IMHO.<br><br><div class="gmail_quote">Le 22 mai 2018 11:05:25 GMT+03:00, KO Myung-Hun <komh78@gmail.com> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Mouse is not hidden at all because cursor_deadline is not updated to<br>proper time.<br>---<br> modules/video_output/kva.c | 15 +++++++++------<br> 1 file changed, 9 insertions(+), 6 deletions(-)<br><br>diff --git a/modules/video_output/kva.c b/modules/video_output/kva.c<br>index 9b5a29f097..c92a317bac 100644<br>--- a/modules/video_output/kva.c<br>+++ b/modules/video_output/kva.c<br>@@ -1027,13 +1027,16 @@ static MRESULT EXPENTRY WndProc( HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2 )<br> RECTL rcl;<br> SWP swp;<br> <br>- if ( sys->is_mouse_hidden &&<br>- ((msg >= WM_MOUSEFIRST && msg <= WM_MOUSELAST) ||<br>- (msg >= WM_EXTMOUSEFIRST && msg <= WM_EXTMOUSELAST) ||<br>- msg == WM_MOUSELEAVE))<br>+ if ( (msg >= WM_MOUSEFIRST && msg <= WM_MOUSELAST) ||<br>+ (msg >= WM_EXTMOUSEFIRST && msg <= WM_EXTMOUSELAST) ||<br>+ msg == WM_MOUSELEAVE)<br> {<br>- WinShowPointer(HWND_DESKTOP, TRUE);<br>- sys->is_mouse_hidden = false;<br>+ if ( sys->is_mouse_hidden )<br>+ {<br>+ WinShowPointer(HWND_DESKTOP, TRUE);<br>+ sys->is_mouse_hidden = false;<br>+ }<br>+<br> sys->cursor_deadline = mdate() + sys->cursor_timeout;<br> }<br> </pre></blockquote></div><br>
-- <br>
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>