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
6c43f90c
Commit
6c43f90c
authored
Mar 31, 2013
by
Sam Edwards
Committed by
Alexandre Julliard
Apr 03, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Ignore WS_VISIBLE and WS_EX_TOPMOST when dropping out of fullscreen.
parent
6ab0ff5b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
device.c
dlls/wined3d/device.c
+12
-3
No files found.
dlls/wined3d/device.c
View file @
6c43f90c
...
...
@@ -1044,12 +1044,21 @@ void CDECL wined3d_device_restore_fullscreen_window(struct wined3d_device *devic
if
(
!
device
->
style
&&
!
device
->
exStyle
)
return
;
TRACE
(
"Restoring window style of window %p to %08x, %08x.
\n
"
,
window
,
device
->
style
,
device
->
exStyle
);
style
=
GetWindowLongW
(
window
,
GWL_STYLE
);
exstyle
=
GetWindowLongW
(
window
,
GWL_EXSTYLE
);
/* These flags are set by wined3d_device_setup_fullscreen_window, not the
* application, and we want to ignore them in the test below, since it's
* not the application's fault that they changed. Additionally, we want to
* preserve the current status of these flags (i.e. don't restore them) to
* more closely emulate the behavior of Direct3D, which leaves these flags
* alone when returning to windowed mode. */
device
->
style
^=
(
device
->
style
^
style
)
&
WS_VISIBLE
;
device
->
exStyle
^=
(
device
->
exStyle
^
exstyle
)
&
WS_EX_TOPMOST
;
TRACE
(
"Restoring window style of window %p to %08x, %08x.
\n
"
,
window
,
device
->
style
,
device
->
exStyle
);
filter_messages
=
device
->
filter_messages
;
device
->
filter_messages
=
TRUE
;
...
...
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