Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
0ad1a6c6
Commit
0ad1a6c6
authored
Apr 02, 2004
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Apr 02, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Setting WS_VISIBLE style does not require any special handling.
parent
970be647
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
11 deletions
+0
-11
window.c
dlls/x11drv/window.c
+0
-5
win.c
windows/win.c
+0
-6
No files found.
dlls/x11drv/window.c
View file @
0ad1a6c6
...
@@ -1116,14 +1116,9 @@ BOOL X11DRV_CreateWindow( HWND hwnd, CREATESTRUCTA *cs, BOOL unicode )
...
@@ -1116,14 +1116,9 @@ BOOL X11DRV_CreateWindow( HWND hwnd, CREATESTRUCTA *cs, BOOL unicode )
newPos
.
right
,
newPos
.
bottom
,
swFlag
);
newPos
.
right
,
newPos
.
bottom
,
swFlag
);
}
}
/* if the window was made visible set create struct flag so that
* we do a proper ShowWindow later on */
if
(
wndPtr
->
dwStyle
&
WS_VISIBLE
)
cs
->
style
|=
WS_VISIBLE
;
WIN_ReleaseWndPtr
(
wndPtr
);
WIN_ReleaseWndPtr
(
wndPtr
);
return
TRUE
;
return
TRUE
;
failed:
failed:
X11DRV_DestroyWindow
(
hwnd
);
X11DRV_DestroyWindow
(
hwnd
);
if
(
wndPtr
)
WIN_ReleasePtr
(
wndPtr
);
if
(
wndPtr
)
WIN_ReleasePtr
(
wndPtr
);
...
...
windows/win.c
View file @
0ad1a6c6
...
@@ -1230,13 +1230,7 @@ static HWND WIN_CreateWindowEx( CREATESTRUCTA *cs, ATOM classAtom,
...
@@ -1230,13 +1230,7 @@ static HWND WIN_CreateWindowEx( CREATESTRUCTA *cs, ATOM classAtom,
}
}
if
(
cs
->
style
&
WS_VISIBLE
)
if
(
cs
->
style
&
WS_VISIBLE
)
{
/* in case WS_VISIBLE got set in the meantime */
if
(
!
(
wndPtr
=
WIN_GetPtr
(
hwnd
)))
return
0
;
WIN_SetStyle
(
hwnd
,
wndPtr
->
dwStyle
&
~
WS_VISIBLE
);
WIN_ReleasePtr
(
wndPtr
);
ShowWindow
(
hwnd
,
sw
);
ShowWindow
(
hwnd
,
sw
);
}
/* Call WH_SHELL hook */
/* Call WH_SHELL hook */
...
...
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