Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
406f5b25
Commit
406f5b25
authored
Jul 22, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Fix MapWindowPoints behavior in the process that owns the desktop window.
parent
75d44fe4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
painting.c
dlls/user32/painting.c
+2
-0
winpos.c
dlls/user32/winpos.c
+10
-4
No files found.
dlls/user32/painting.c
View file @
406f5b25
...
...
@@ -623,6 +623,8 @@ static HRGN send_ncpaint( HWND hwnd, HWND *child, UINT *flags )
if
(
child
)
hwnd
=
*
child
;
if
(
hwnd
==
GetDesktopWindow
())
return
whole_rgn
;
if
(
whole_rgn
)
{
RECT
client
,
update
;
...
...
dlls/user32/winpos.c
View file @
406f5b25
...
...
@@ -434,8 +434,11 @@ static void WINPOS_GetWinOffset( HWND hwndFrom, HWND hwndTo, POINT *offset )
}
if
(
wndPtr
==
WND_DESKTOP
)
break
;
if
(
wndPtr
==
WND_OTHER_PROCESS
)
goto
other_process
;
offset
->
x
+=
wndPtr
->
rectClient
.
left
;
offset
->
y
+=
wndPtr
->
rectClient
.
top
;
if
(
wndPtr
->
parent
)
{
offset
->
x
+=
wndPtr
->
rectClient
.
left
;
offset
->
y
+=
wndPtr
->
rectClient
.
top
;
}
hwnd
=
wndPtr
->
parent
;
WIN_ReleasePtr
(
wndPtr
);
}
...
...
@@ -455,8 +458,11 @@ static void WINPOS_GetWinOffset( HWND hwndFrom, HWND hwndTo, POINT *offset )
}
if
(
wndPtr
==
WND_DESKTOP
)
break
;
if
(
wndPtr
==
WND_OTHER_PROCESS
)
goto
other_process
;
offset
->
x
-=
wndPtr
->
rectClient
.
left
;
offset
->
y
-=
wndPtr
->
rectClient
.
top
;
if
(
wndPtr
->
parent
)
{
offset
->
x
-=
wndPtr
->
rectClient
.
left
;
offset
->
y
-=
wndPtr
->
rectClient
.
top
;
}
hwnd
=
wndPtr
->
parent
;
WIN_ReleasePtr
(
wndPtr
);
}
...
...
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