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
47983d81
Commit
47983d81
authored
Oct 10, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Create a surface even for OpenGL windows, to allow painting the non-client area.
parent
77b9ec8c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
16 deletions
+0
-16
opengl.c
dlls/winex11.drv/opengl.c
+0
-14
window.c
dlls/winex11.drv/window.c
+0
-1
x11drv.h
dlls/winex11.drv/x11drv.h
+0
-1
No files found.
dlls/winex11.drv/opengl.c
View file @
47983d81
...
...
@@ -1114,15 +1114,6 @@ static void release_gl_drawable( struct gl_drawable *gl )
if
(
gl
)
LeaveCriticalSection
(
&
context_section
);
}
BOOL
has_gl_drawable
(
HWND
hwnd
)
{
struct
gl_drawable
*
gl
;
gl
=
get_gl_drawable
(
hwnd
,
0
);
release_gl_drawable
(
gl
);
return
gl
!=
NULL
;
}
static
GLXContext
create_glxcontext
(
Display
*
display
,
struct
wgl_context
*
context
,
GLXContext
shareList
)
{
GLXContext
ctx
;
...
...
@@ -3081,11 +3072,6 @@ struct opengl_funcs *get_glx_driver( UINT version )
return
NULL
;
}
BOOL
has_gl_drawable
(
HWND
hwnd
)
{
return
FALSE
;
}
void
sync_gl_drawable
(
HWND
hwnd
,
const
RECT
*
visible_rect
,
const
RECT
*
client_rect
)
{
}
...
...
dlls/winex11.drv/window.c
View file @
47983d81
...
...
@@ -2060,7 +2060,6 @@ void CDECL X11DRV_WindowPosChanging( HWND hwnd, HWND insert_after, UINT swp_flag
if
(
data
->
embedded
)
goto
done
;
if
(
data
->
whole_window
==
root_window
)
goto
done
;
if
(
has_gl_drawable
(
hwnd
))
goto
done
;
if
(
!
client_side_graphics
&&
!
layered
)
goto
done
;
surface_rect
=
get_surface_rect
(
visible_rect
);
...
...
dlls/winex11.drv/x11drv.h
View file @
47983d81
...
...
@@ -567,7 +567,6 @@ extern void release_win_data( struct x11drv_win_data *data ) DECLSPEC_HIDDEN;
extern
Window
X11DRV_get_whole_window
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
extern
XIC
X11DRV_get_ic
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
extern
BOOL
has_gl_drawable
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
extern
void
sync_gl_drawable
(
HWND
hwnd
,
const
RECT
*
visible_rect
,
const
RECT
*
client_rect
)
DECLSPEC_HIDDEN
;
extern
void
destroy_gl_drawable
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
...
...
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