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
c177c6e6
Commit
c177c6e6
authored
May 19, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure drawable_org is set correctly when using one of the parents
as drawable (found by Dmitry Timoshkov).
parent
08eac70d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
winpos.c
dlls/x11drv/winpos.c
+2
-2
No files found.
dlls/x11drv/winpos.c
View file @
c177c6e6
...
...
@@ -468,9 +468,9 @@ BOOL X11DRV_GetDC( HWND hwnd, HDC hdc, HRGN hrgn, DWORD flags )
org
.
x
=
win
->
rectWindow
.
left
-
win
->
rectClient
.
left
;
org
.
y
=
win
->
rectWindow
.
top
-
win
->
rectClient
.
top
;
}
drawable_org
=
org
;
MapWindowPoints
(
hwnd
,
parent
,
&
org
,
1
);
MapWindowPoints
(
hwnd
,
0
,
&
drawable_org
,
1
);
drawable_org
.
x
=
drawable_org
.
y
=
0
;
MapWindowPoints
(
parent
,
0
,
&
drawable_org
,
1
);
/* have to use the parent so that we include siblings */
if
(
parent
)
drawable
=
X11DRV_get_client_window
(
parent
);
else
drawable
=
root_window
;
...
...
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