mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-02 05:20:14 +01:00
winmultiwindowwindow.c
Create windows with SWP_NOACTIVATE flag (updated) (Kensuke Matsuzaki)
This commit is contained in:
parent
4d6b61e2f3
commit
eaf224e4f9
3 changed files with 8 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue