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
7ee7d3a8
Commit
7ee7d3a8
authored
Sep 26, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Recreate the graphics context when setting the drawable.
parent
014ec638
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
init.c
dlls/winex11.drv/init.c
+3
-0
No files found.
dlls/winex11.drv/init.c
View file @
7ee7d3a8
...
...
@@ -334,6 +334,9 @@ static INT X11DRV_ExtEscape( PHYSDEV dev, INT escape, INT in_count, LPCVOID in_d
const
struct
x11drv_escape_set_drawable
*
data
=
in_data
;
physDev
->
dc_rect
=
data
->
dc_rect
;
physDev
->
drawable
=
data
->
drawable
;
XFreeGC
(
gdi_display
,
physDev
->
gc
);
physDev
->
gc
=
XCreateGC
(
gdi_display
,
physDev
->
drawable
,
0
,
NULL
);
XSetGraphicsExposures
(
gdi_display
,
physDev
->
gc
,
False
);
XSetSubwindowMode
(
gdi_display
,
physDev
->
gc
,
data
->
mode
);
TRACE
(
"SET_DRAWABLE hdc %p drawable %lx dc_rect %s
\n
"
,
dev
->
hdc
,
physDev
->
drawable
,
wine_dbgstr_rect
(
&
physDev
->
dc_rect
)
);
...
...
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