Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
e908fd38
Commit
e908fd38
authored
Jun 13, 2000
by
Gerard Patel
Committed by
Alexandre Julliard
Jun 13, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not change the WS_CHILD style in SetParent.
parent
5ea22474
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
wnd.c
windows/x11drv/wnd.c
+2
-3
No files found.
windows/x11drv/wnd.c
View file @
e908fd38
...
@@ -267,7 +267,8 @@ BOOL X11DRV_WND_CreateWindow(WND *wndPtr, CLASS *classPtr, CREATESTRUCTA *cs, BO
...
@@ -267,7 +267,8 @@ BOOL X11DRV_WND_CreateWindow(WND *wndPtr, CLASS *classPtr, CREATESTRUCTA *cs, BO
/* Create the X window (only for top-level windows, and then only */
/* Create the X window (only for top-level windows, and then only */
/* when there's no desktop window) */
/* when there's no desktop window) */
if
(
!
(
cs
->
style
&
WS_CHILD
)
&&
(
X11DRV_GetXRootWindow
()
==
DefaultRootWindow
(
display
)))
if
((
X11DRV_GetXRootWindow
()
==
DefaultRootWindow
(
display
))
&&
(
wndPtr
->
parent
->
hwndSelf
==
GetDesktopWindow
()))
{
{
Window
wGroupLeader
;
Window
wGroupLeader
;
XWMHints
*
wm_hints
;
XWMHints
*
wm_hints
;
...
@@ -446,7 +447,6 @@ WND *X11DRV_WND_SetParent(WND *wndPtr, WND *pWndParent)
...
@@ -446,7 +447,6 @@ WND *X11DRV_WND_SetParent(WND *wndPtr, WND *pWndParent)
if
(
pWndParent
==
pDesktop
)
if
(
pWndParent
==
pDesktop
)
{
{
wndPtr
->
dwStyle
&=
~
WS_CHILD
;
if
(
X11DRV_GetXRootWindow
()
==
DefaultRootWindow
(
display
)
)
if
(
X11DRV_GetXRootWindow
()
==
DefaultRootWindow
(
display
)
)
{
{
CREATESTRUCTA
cs
;
CREATESTRUCTA
cs
;
...
@@ -474,7 +474,6 @@ WND *X11DRV_WND_SetParent(WND *wndPtr, WND *pWndParent)
...
@@ -474,7 +474,6 @@ WND *X11DRV_WND_SetParent(WND *wndPtr, WND *pWndParent)
{
{
if
(
!
(
wndPtr
->
dwStyle
&
WS_CHILD
)
)
if
(
!
(
wndPtr
->
dwStyle
&
WS_CHILD
)
)
{
{
wndPtr
->
dwStyle
|=
WS_CHILD
;
if
(
wndPtr
->
wIDmenu
!=
0
)
if
(
wndPtr
->
wIDmenu
!=
0
)
{
{
DestroyMenu
(
(
HMENU
)
wndPtr
->
wIDmenu
);
DestroyMenu
(
(
HMENU
)
wndPtr
->
wIDmenu
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment