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
ae153a5c
Commit
ae153a5c
authored
Jul 07, 2017
by
Zebediah Figura
Committed by
Alexandre Julliard
Jul 19, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Allow activating the desktop window.
Signed-off-by:
Zebediah Figura
<
zfigura@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b9a9fe4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
message.c
dlls/user32/message.c
+1
-2
No files found.
dlls/user32/message.c
View file @
ae153a5c
...
...
@@ -1871,7 +1871,6 @@ static LRESULT handle_internal_message( HWND hwnd, UINT msg, WPARAM wparam, LPAR
if
(
is_desktop_window
(
hwnd
))
return
0
;
return
WIN_SetStyle
(
hwnd
,
wparam
,
lparam
);
case
WM_WINE_SETACTIVEWINDOW
:
if
(
is_desktop_window
(
hwnd
))
return
0
;
if
(
!
wparam
&&
GetForegroundWindow
()
==
hwnd
)
return
0
;
return
(
LRESULT
)
SetActiveWindow
(
(
HWND
)
wparam
);
case
WM_WINE_KEYBOARD_LL_HOOK
:
...
...
@@ -2645,7 +2644,7 @@ static BOOL process_mouse_message( MSG *msg, UINT hw_id, ULONG_PTR extra_info, H
hwndTop
=
GetParent
(
hwndTop
);
}
if
(
hwndTop
&&
hwndTop
!=
GetDesktopWindow
()
)
if
(
hwndTop
)
{
LONG
ret
=
SendMessageW
(
msg
->
hwnd
,
WM_MOUSEACTIVATE
,
(
WPARAM
)
hwndTop
,
MAKELONG
(
hittest
,
msg
->
message
)
);
...
...
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