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
62019e6d
Commit
62019e6d
authored
Feb 24, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 24, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Intersect with passed dirty rectangle while blitting.
parent
9b7b3ef1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
win.c
dlls/user32/win.c
+9
-6
No files found.
dlls/user32/win.c
View file @
62019e6d
...
@@ -3392,18 +3392,18 @@ BOOL WINAPI UpdateLayeredWindowIndirect( HWND hwnd, const UPDATELAYEREDWINDOWINF
...
@@ -3392,18 +3392,18 @@ BOOL WINAPI UpdateLayeredWindowIndirect( HWND hwnd, const UPDATELAYEREDWINDOWINF
cy
=
info
->
psize
->
cy
;
cy
=
info
->
psize
->
cy
;
flags
&=
~
SWP_NOSIZE
;
flags
&=
~
SWP_NOSIZE
;
}
}
TRACE
(
"moving window %p pos %d,%d %dx%
x
\n
"
,
hwnd
,
x
,
y
,
cx
,
cy
);
TRACE
(
"moving window %p pos %d,%d %dx%
d
\n
"
,
hwnd
,
x
,
y
,
cx
,
cy
);
SetWindowPos
(
hwnd
,
0
,
x
,
y
,
cx
,
cy
,
flags
);
SetWindowPos
(
hwnd
,
0
,
x
,
y
,
cx
,
cy
,
flags
);
}
}
if
(
info
->
hdcSrc
)
if
(
info
->
hdcSrc
)
{
{
RECT
rect
;
HDC
hdc
=
GetDCEx
(
hwnd
,
0
,
DCX_CACHE
);
HDC
hdc
=
GetDCEx
(
hwnd
,
0
,
DCX_CACHE
);
if
(
hdc
)
if
(
hdc
)
{
{
int
x
=
0
,
y
=
0
;
int
x
=
0
,
y
=
0
;
RECT
rect
;
GetClientRect
(
hwnd
,
&
rect
);
GetClientRect
(
hwnd
,
&
rect
);
if
(
info
->
pptSrc
)
if
(
info
->
pptSrc
)
...
@@ -3411,10 +3411,13 @@ BOOL WINAPI UpdateLayeredWindowIndirect( HWND hwnd, const UPDATELAYEREDWINDOWINF
...
@@ -3411,10 +3411,13 @@ BOOL WINAPI UpdateLayeredWindowIndirect( HWND hwnd, const UPDATELAYEREDWINDOWINF
x
=
info
->
pptSrc
->
x
;
x
=
info
->
pptSrc
->
x
;
y
=
info
->
pptSrc
->
y
;
y
=
info
->
pptSrc
->
y
;
}
}
/* FIXME: intersect rect with info->prcDirty */
TRACE
(
"copying window %p pos %d,%d
\n
"
,
hwnd
,
x
,
y
);
if
(
!
info
->
prcDirty
||
(
info
->
prcDirty
&&
IntersectRect
(
&
rect
,
&
rect
,
info
->
prcDirty
)))
BitBlt
(
hdc
,
rect
.
left
,
rect
.
top
,
rect
.
right
,
rect
.
bottom
,
{
info
->
hdcSrc
,
rect
.
left
+
x
,
rect
.
top
+
y
,
SRCCOPY
);
TRACE
(
"copying window %p pos %d,%d
\n
"
,
hwnd
,
x
,
y
);
BitBlt
(
hdc
,
rect
.
left
,
rect
.
top
,
rect
.
right
,
rect
.
bottom
,
info
->
hdcSrc
,
rect
.
left
+
x
,
rect
.
top
+
y
,
SRCCOPY
);
}
ReleaseDC
(
hwnd
,
hdc
);
ReleaseDC
(
hwnd
,
hdc
);
}
}
}
}
...
...
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