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
e835f034
Commit
e835f034
authored
Jan 26, 2013
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Jan 28, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Push down variable attrib down in create_gl_drawable.
parent
462d2129
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
opengl.c
dlls/winex11.drv/opengl.c
+1
-2
No files found.
dlls/winex11.drv/opengl.c
View file @
e835f034
...
@@ -1222,8 +1222,6 @@ static void free_gl_drawable( struct gl_drawable *gl )
...
@@ -1222,8 +1222,6 @@ static void free_gl_drawable( struct gl_drawable *gl )
*/
*/
static
BOOL
create_gl_drawable
(
HWND
hwnd
,
HWND
parent
,
struct
gl_drawable
*
gl
)
static
BOOL
create_gl_drawable
(
HWND
hwnd
,
HWND
parent
,
struct
gl_drawable
*
gl
)
{
{
XSetWindowAttributes
attrib
;
gl
->
drawable
=
0
;
gl
->
drawable
=
0
;
if
(
GetAncestor
(
hwnd
,
GA_PARENT
)
==
GetDesktopWindow
())
/* top-level window */
if
(
GetAncestor
(
hwnd
,
GA_PARENT
)
==
GetDesktopWindow
())
/* top-level window */
...
@@ -1241,6 +1239,7 @@ static BOOL create_gl_drawable( HWND hwnd, HWND parent, struct gl_drawable *gl )
...
@@ -1241,6 +1239,7 @@ static BOOL create_gl_drawable( HWND hwnd, HWND parent, struct gl_drawable *gl )
else
if
(
usexcomposite
)
else
if
(
usexcomposite
)
{
{
static
Window
dummy_parent
;
static
Window
dummy_parent
;
XSetWindowAttributes
attrib
;
attrib
.
override_redirect
=
True
;
attrib
.
override_redirect
=
True
;
if
(
!
dummy_parent
)
if
(
!
dummy_parent
)
...
...
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