mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-29 17:59:50 +03:00
restoring window after rolling up does not allow invalid window coordinates
git-svn-id: svn://kolibrios.org@679 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
3ce0c6763b
commit
c2a771d335
@ -1544,6 +1544,13 @@ checkwindows:
|
||||
mov eax,[screen_workarea.bottom]
|
||||
sub eax,[screen_workarea.top]
|
||||
@@: mov [edi+WDATA.box.height],eax
|
||||
add eax, [edi+WDATA.box.top]
|
||||
cmp eax, [ScreenHeight]
|
||||
jbe @f
|
||||
mov eax, [ScreenHeight]
|
||||
sub eax, [edi+WDATA.box.height]
|
||||
mov [edi+WDATA.box.top], eax
|
||||
@@: call check_window_position
|
||||
call set_window_clientbox
|
||||
|
||||
no_window_shade:
|
||||
|
Loading…
Reference in New Issue
Block a user