kernel: fix sysfunction 9 GetProcInfo. As the window is created with width+1 and height+1 so the client size has to be bigger respectively

eolite: fix regression

git-svn-id: svn://kolibrios.org@8012 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2020-05-30 11:36:52 +00:00
parent 1b38c0cb3a
commit 5950bfe4cd
4 changed files with 11 additions and 10 deletions

View File

@@ -1505,6 +1505,7 @@ window._.set_window_clientbox: ;///////////////////////////////////////////////
shl eax, 1
neg eax
add eax, [ecx + WDATA.box.width]
inc eax ;Leency: as window is created width+1 so client the same
mov [edi + SLOT_BASE + APPDATA.wnd_clientbox.width], eax
movzx eax, [ecx + WDATA.fl_wstyle]
@@ -1515,6 +1516,7 @@ window._.set_window_clientbox: ;///////////////////////////////////////////////
neg eax
sub eax, [esp]
add eax, [ecx + WDATA.box.height]
inc eax ;Leency: as window is created height+1 so client the same
mov [edi + SLOT_BASE + APPDATA.wnd_clientbox.height], eax
add esp, 4
jmp .exit