From 199e14f1640a414cc0252fbf85720c2288ddaa2c Mon Sep 17 00:00:00 2001 From: lev Date: Tue, 21 Jan 2014 22:21:53 +0000 Subject: [PATCH] redraw cursor in 37.5 in any case git-svn-id: svn://kolibrios.org@4507 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/video/cursors.inc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/kernel/trunk/video/cursors.inc b/kernel/trunk/video/cursors.inc index ff310570f9..c07637a05f 100644 --- a/kernel/trunk/video/cursors.inc +++ b/kernel/trunk/video/cursors.inc @@ -295,15 +295,17 @@ proc set_cursor stdcall, hcursor:dword ; jne .fail mov ebx, [current_slot] xchg eax, [ebx+APPDATA.cursor] - mov [redrawmouse_unconditional], 1 - call __sys_draw_pointer - ret + jmp .end ;-------------------------------------- align 4 .fail: mov eax, [def_cursor] mov ebx, [current_slot] xchg eax, [ebx+APPDATA.cursor] +align 4 +.end: + mov [redrawmouse_unconditional], 1 + call __sys_draw_pointer ret endp ;------------------------------------------------------------------------------