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
9727aa81
Commit
9727aa81
authored
Apr 21, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Use SetWindowPos to invalidate DCEs when changing the pixel format.
parent
b9443c9a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
user32.spec
dlls/user32/user32.spec
+0
-1
window.c
dlls/winex11.drv/window.c
+5
-1
x11drv.h
dlls/winex11.drv/x11drv.h
+0
-1
No files found.
dlls/user32/user32.spec
View file @
9727aa81
...
...
@@ -788,4 +788,3 @@
# Wine dll separation hacks, these will go away, don't use them
#
@ cdecl HOOK_CallHooks(long long long long long)
@ cdecl WIN_invalidate_dce(long ptr) invalidate_dce
dlls/winex11.drv/window.c
View file @
9727aa81
...
...
@@ -496,7 +496,10 @@ done:
wine_tsx11_lock
();
XFlush
(
display
);
wine_tsx11_unlock
();
WIN_invalidate_dce
(
hwnd
,
NULL
);
/* force DCE invalidation */
SetWindowPos
(
hwnd
,
0
,
0
,
0
,
0
,
0
,
SWP_NOACTIVATE
|
SWP_NOZORDER
|
SWP_NOSIZE
|
SWP_NOMOVE
|
SWP_NOREDRAW
|
SWP_NOSENDCHANGING
|
SWP_STATECHANGED
);
return
TRUE
;
}
...
...
@@ -559,6 +562,7 @@ static void sync_gl_drawable(Display *display, struct x11drv_win_data *data)
XFreePixmap
(
display
,
data
->
pixmap
);
destroy_glxpixmap
(
display
,
data
->
gl_drawable
);
TRACE
(
"Recreated GL drawable %lx to replace %lx
\n
"
,
glxp
,
data
->
gl_drawable
);
data
->
pixmap
=
pix
;
data
->
gl_drawable
=
glxp
;
...
...
dlls/winex11.drv/x11drv.h
View file @
9727aa81
...
...
@@ -774,7 +774,6 @@ extern void X11DRV_ForceXIMReset(HWND hwnd);
/* FIXME: private functions imported from user32 */
extern
LRESULT
HOOK_CallHooks
(
INT
id
,
INT
code
,
WPARAM
wparam
,
LPARAM
lparam
,
BOOL
unicode
);
extern
void
WIN_invalidate_dce
(
HWND
hwnd
,
const
RECT
*
rect
);
#define XEMBED_MAPPED (1 << 0)
...
...
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