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
feaf81f6
Commit
feaf81f6
authored
Nov 05, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Nov 05, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Use SetWindowPos() to make the focus window active.
parent
e279fa2a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
1 deletion
+4
-1
device.c
dlls/d3d8/tests/device.c
+1
-0
device.c
dlls/d3d9/tests/device.c
+1
-0
d3d.c
dlls/ddraw/tests/d3d.c
+1
-0
device.c
dlls/wined3d/device.c
+1
-1
No files found.
dlls/d3d8/tests/device.c
View file @
feaf81f6
...
...
@@ -1621,6 +1621,7 @@ static void test_wndproc(void)
static
const
struct
message
messages
[]
=
{
{
WM_WINDOWPOSCHANGING
,
FOCUS_WINDOW
},
{
WM_ACTIVATE
,
FOCUS_WINDOW
},
{
WM_SETFOCUS
,
FOCUS_WINDOW
},
{
WM_WINDOWPOSCHANGING
,
DEVICE_WINDOW
},
...
...
dlls/d3d9/tests/device.c
View file @
feaf81f6
...
...
@@ -2465,6 +2465,7 @@ static void test_wndproc(void)
static
const
struct
message
messages
[]
=
{
{
WM_WINDOWPOSCHANGING
,
FOCUS_WINDOW
},
{
WM_ACTIVATE
,
FOCUS_WINDOW
},
{
WM_SETFOCUS
,
FOCUS_WINDOW
},
{
0
,
0
},
...
...
dlls/ddraw/tests/d3d.c
View file @
feaf81f6
...
...
@@ -3272,6 +3272,7 @@ static void test_wndproc(void)
static
const
UINT
messages
[]
=
{
WM_WINDOWPOSCHANGING
,
WM_ACTIVATE
,
WM_SETFOCUS
,
0
,
...
...
dlls/wined3d/device.c
View file @
feaf81f6
...
...
@@ -1763,7 +1763,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_AcquireFocusWindow(IWineD3DDevice *ifac
}
device
->
focus_window
=
window
;
Set
ForegroundWindow
(
window
);
Set
WindowPos
(
window
,
0
,
0
,
0
,
0
,
0
,
SWP_NOSIZE
|
SWP_NOMOVE
);
return
WINED3D_OK
;
}
...
...
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