mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
Temp fix
svn path=/trunk/; revision=4234
This commit is contained in:
parent
c6e059cb67
commit
8abf7a676f
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: defwnd.c,v 1.25 2003/03/01 20:39:16 rcampbell Exp $
|
/* $Id: defwnd.c,v 1.26 2003/03/03 19:51:31 rcampbell Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS user32.dll
|
* PROJECT: ReactOS user32.dll
|
||||||
|
@ -723,7 +723,7 @@ DefWndHandleLButtonDownNC(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
case HTCAPTION:
|
case HTCAPTION:
|
||||||
{
|
{
|
||||||
HWND hTopWnd = GetAncestor(hWnd, GA_ROOT);
|
HWND hTopWnd = GetDesktopWindow(); //GetAncestor(hWnd, GA_ROOT); temp fix.
|
||||||
if (SetActiveWindow(hTopWnd) || GetActiveWindow() == hTopWnd)
|
if (SetActiveWindow(hTopWnd) || GetActiveWindow() == hTopWnd)
|
||||||
{
|
{
|
||||||
SendMessageA(hWnd, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, lParam);
|
SendMessageA(hWnd, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, lParam);
|
||||||
|
|
Loading…
Reference in a new issue