winmultiwindowwindow.c

Create windows with SWP_NOACTIVATE flag (updated) (Kensuke Matsuzaki)
This commit is contained in:
Alexander Gottwald 2005-01-27 13:29:34 +00:00
parent 4d6b61e2f3
commit eaf224e4f9
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2005-01-27 Alexander Gottwald <ago at freedesktop dot org>
* winmultiwindowwindow.c
* winmultiwindowwndproc.c:
Create windows with SWP_NOACTIVATE flag (updated) (Kensuke Matsuzaki)
2005-01-27 Alexander Gottwald <ago at freedesktop dot org>
* winmultiwindowwndproc.c:

View file

@ -571,7 +571,7 @@ winCreateWindowsWindow (WindowPtr pWin)
/* Change style back to popup, already placed... */
SetWindowLong (hWnd, GWL_STYLE, WS_POPUP | WS_CLIPCHILDREN | WS_CLIPSIBLINGS);
SetWindowPos (hWnd, 0, 0, 0, 0, 0,
SWP_FRAMECHANGED | SWP_NOZORDER | SWP_NOMOVE | SWP_NOSIZE);
SWP_FRAMECHANGED | SWP_NOZORDER | SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE);
/* Make sure it gets the proper system menu for a WS_POPUP, too */
GetSystemMenu (hWnd, TRUE);

View file

@ -933,7 +933,7 @@ winTopLevelWindowProc (HWND hwnd, UINT message,
ErrorF ("overridden window is shown\n");
#endif
SetWindowPos (hwnd, HWND_TOPMOST, 0, 0, 0, 0,
SWP_NOMOVE | SWP_NOSIZE);
SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE);
}
/* Setup the Window Manager message */