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
7aff865e
Commit
7aff865e
authored
Feb 14, 2011
by
Nicholas Niro
Committed by
Alexandre Julliard
Feb 15, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Add proper initialization for border_pixel.
parent
80354e50
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
opengl.c
dlls/winex11.drv/opengl.c
+2
-1
No files found.
dlls/winex11.drv/opengl.c
View file @
7aff865e
...
...
@@ -311,6 +311,7 @@ static BOOL X11DRV_WineGL_InitOpenglInfo(void)
attr
.
override_redirect
=
True
;
attr
.
colormap
=
None
;
attr
.
border_pixel
=
0
;
wine_tsx11_lock
();
...
...
@@ -337,7 +338,7 @@ static BOOL X11DRV_WineGL_InitOpenglInfo(void)
if
(
vis
->
visual
!=
DefaultVisual
(
gdi_display
,
vis
->
screen
))
attr
.
colormap
=
XCreateColormap
(
gdi_display
,
root
,
vis
->
visual
,
AllocNone
);
if
((
win
=
XCreateWindow
(
gdi_display
,
root
,
-
1
,
-
1
,
1
,
1
,
0
,
vis
->
depth
,
InputOutput
,
vis
->
visual
,
CWOverrideRedirect
|
CWColormap
,
&
attr
)))
vis
->
visual
,
CW
BorderPixel
|
CW
OverrideRedirect
|
CWColormap
,
&
attr
)))
XMapWindow
(
gdi_display
,
win
);
else
win
=
root
;
...
...
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