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
e6359524
Commit
e6359524
authored
Jun 06, 2013
by
Ken Thomases
Committed by
Alexandre Julliard
Jun 07, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemac: Actually switch Win32 focus away from a window that has lost Cocoa focus.
parent
220b8b79
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
window.c
dlls/winemac.drv/window.c
+4
-0
No files found.
dlls/winemac.drv/window.c
View file @
e6359524
...
...
@@ -1587,7 +1587,11 @@ void macdrv_window_lost_focus(HWND hwnd, const macdrv_event *event)
TRACE
(
"win %p/%p fg %p
\n
"
,
hwnd
,
event
->
window
,
GetForegroundWindow
());
if
(
hwnd
==
GetForegroundWindow
())
{
SendMessageW
(
hwnd
,
WM_CANCELMODE
,
0
,
0
);
if
(
hwnd
==
GetForegroundWindow
())
SetForegroundWindow
(
GetDesktopWindow
());
}
}
...
...
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