From 71c7f0e9d285c158f09fd25d5e174280c30d57aa Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 18 Jan 2003 21:34:26 +0000 Subject: Added SWP_NOZORDER to SetWindowPos to avoid fronting windows. --- win32/PlatWin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 546b278db..a65ff4a9c 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -722,7 +722,7 @@ PRectangle Window::GetPosition() { void Window::SetPosition(PRectangle rc) { ::SetWindowPos(reinterpret_cast(id), - 0, rc.left, rc.top, rc.Width(), rc.Height(), 0); + 0, rc.left, rc.top, rc.Width(), rc.Height(), SWP_NOZORDER); } void Window::SetPositionRelative(PRectangle rc, Window) { -- cgit v1.2.3