From ab543a3b94e42db0eece1b4ead122af30abce7a5 Mon Sep 17 00:00:00 2001 From: GerdtR Date: Sun, 11 Oct 2015 21:52:57 +0000 Subject: [PATCH] Minor bug fix when moving windows git-svn-id: svn://kolibrios.org@5844 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/gui/window.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/kernel/trunk/gui/window.inc b/kernel/trunk/gui/window.inc index a910e21e0f..cf7cd60259 100644 --- a/kernel/trunk/gui/window.inc +++ b/kernel/trunk/gui/window.inc @@ -1417,9 +1417,6 @@ sys_window_end_moving_handler: ;/////////////////////////////////////////////// ; mov edi, ebx ; call window._.end_moving__box - mov edi, ebx - call window._.draw_negative_box - mov edi, esi shl edi, 5 add edi, window_data @@ -1562,6 +1559,10 @@ end if mov eax, ebx mov ebx, esi + push edi + mov edi, eax + call window._.draw_negative_box + pop edi call window._.check_window_position call window._.set_window_clientbox call window._.invalidate_screen