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
688febb8
Commit
688febb8
authored
May 22, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Return reasonable values in GetWindowPlacement for the desktop window.
parent
03a7ddb7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
winpos.c
dlls/user32/winpos.c
+14
-1
No files found.
dlls/user32/winpos.c
View file @
688febb8
...
@@ -1172,7 +1172,20 @@ BOOL WINAPI GetWindowPlacement( HWND hwnd, WINDOWPLACEMENT *wndpl )
...
@@ -1172,7 +1172,20 @@ BOOL WINAPI GetWindowPlacement( HWND hwnd, WINDOWPLACEMENT *wndpl )
{
{
WND
*
pWnd
=
WIN_GetPtr
(
hwnd
);
WND
*
pWnd
=
WIN_GetPtr
(
hwnd
);
if
(
!
pWnd
||
pWnd
==
WND_DESKTOP
)
return
FALSE
;
if
(
!
pWnd
)
return
FALSE
;
if
(
pWnd
==
WND_DESKTOP
)
{
wndpl
->
length
=
sizeof
(
*
wndpl
);
wndpl
->
showCmd
=
SW_SHOWNORMAL
;
wndpl
->
flags
=
0
;
wndpl
->
ptMinPosition
.
x
=
-
1
;
wndpl
->
ptMinPosition
.
y
=
-
1
;
wndpl
->
ptMaxPosition
.
x
=
-
1
;
wndpl
->
ptMaxPosition
.
y
=
-
1
;
GetWindowRect
(
hwnd
,
&
wndpl
->
rcNormalPosition
);
return
TRUE
;
}
if
(
pWnd
==
WND_OTHER_PROCESS
)
if
(
pWnd
==
WND_OTHER_PROCESS
)
{
{
if
(
IsWindow
(
hwnd
))
FIXME
(
"not supported on other process window %p
\n
"
,
hwnd
);
if
(
IsWindow
(
hwnd
))
FIXME
(
"not supported on other process window %p
\n
"
,
hwnd
);
...
...
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