forked from KolibriOS/kolibrios
* Unified COM1/COM2 mice handling.
* Corrected COM mouse detection. * Mouse cursor can now be at right and bottom screen sides. * Normal handling of "desktop background redraw" event. (Background redraw is faster now.) * Fixed error in stretch background function for VESA 2.0. git-svn-id: svn://kolibrios.org@473 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -3395,8 +3395,14 @@ mouse_not_active:
|
||||
jz nobackgr
|
||||
cmp [background_defined], 0
|
||||
jz nobackgr
|
||||
mov [REDRAW_BACKGROUND],byte 2
|
||||
call change_task
|
||||
; mov [REDRAW_BACKGROUND],byte 2
|
||||
; call change_task
|
||||
xor edi, edi
|
||||
mov ecx, [TASK_COUNT]
|
||||
set_bgr_event:
|
||||
add edi, 256
|
||||
or [edi+SLOT_BASE+APPDATA.event_mask], 16
|
||||
loop set_bgr_event
|
||||
mov [draw_data+32 + RECT.left],dword 0
|
||||
mov [draw_data+32 + RECT.top],dword 0
|
||||
mov eax,[ScreenWidth]
|
||||
|
Reference in New Issue
Block a user