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
a97db5e4
Commit
a97db5e4
authored
Nov 15, 1998
by
Pim Bollen
Committed by
Alexandre Julliard
Nov 15, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed scroll bug in ScrollWindowEx32 which caused garbage on screen
outside desktop window with gtwin.exe (Dutch banking program).
parent
737fa07d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
scroll.c
windows/scroll.c
+12
-10
No files found.
windows/scroll.c
View file @
a97db5e4
...
...
@@ -354,16 +354,18 @@ rect?rect->left:0, rect?rect->top:0, rect ?rect->right:0, rect ?rect->bottom:0,
if
(
dy
>
0
)
dst
.
y
=
(
src
.
y
=
dc
->
w
.
DCOrgY
+
cliprc
.
top
)
+
dy
;
else
src
.
y
=
(
dst
.
y
=
dc
->
w
.
DCOrgY
+
cliprc
.
top
)
-
dy
;
if
(
bUpdate
)
/* handles non-Wine windows hanging over the scrolled area */
TSXSetGraphicsExposures
(
display
,
dc
->
u
.
x
.
gc
,
True
);
TSXSetFunction
(
display
,
dc
->
u
.
x
.
gc
,
GXcopy
);
TSXCopyArea
(
display
,
dc
->
u
.
x
.
drawable
,
dc
->
u
.
x
.
drawable
,
dc
->
u
.
x
.
gc
,
src
.
x
,
src
.
y
,
cliprc
.
right
-
cliprc
.
left
-
abs
(
dx
),
cliprc
.
bottom
-
cliprc
.
top
-
abs
(
dy
),
dst
.
x
,
dst
.
y
);
if
(
bUpdate
)
TSXSetGraphicsExposures
(
display
,
dc
->
u
.
x
.
gc
,
False
);
if
((
cliprc
.
right
-
cliprc
.
left
>
abs
(
dx
))
&&
(
cliprc
.
bottom
-
cliprc
.
top
>
abs
(
dy
)))
{
if
(
bUpdate
)
/* handles non-Wine windows hanging over the scrolled area */
TSXSetGraphicsExposures
(
display
,
dc
->
u
.
x
.
gc
,
True
);
TSXSetFunction
(
display
,
dc
->
u
.
x
.
gc
,
GXcopy
);
TSXCopyArea
(
display
,
dc
->
u
.
x
.
drawable
,
dc
->
u
.
x
.
drawable
,
dc
->
u
.
x
.
gc
,
src
.
x
,
src
.
y
,
cliprc
.
right
-
cliprc
.
left
-
abs
(
dx
),
cliprc
.
bottom
-
cliprc
.
top
-
abs
(
dy
),
dst
.
x
,
dst
.
y
);
if
(
bUpdate
)
TSXSetGraphicsExposures
(
display
,
dc
->
u
.
x
.
gc
,
False
);
}
if
(
dc
->
w
.
hVisRgn
&&
bUpdate
)
{
...
...
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