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
4d33d498
Commit
4d33d498
authored
Mar 03, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Pass HWND_BOTTOM unmodified to the server in PeekMessage.
parent
c0ef7a1a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
message.c
dlls/user32/message.c
+1
-2
queue.c
server/queue.c
+1
-1
No files found.
dlls/user32/message.c
View file @
4d33d498
...
...
@@ -2034,8 +2034,7 @@ static BOOL peek_message( MSG *msg, HWND hwnd, UINT first, UINT last, UINT flags
if
(
!
(
buffer
=
HeapAlloc
(
GetProcessHeap
(),
0
,
buffer_size
)))
return
FALSE
;
if
(
!
first
&&
!
last
)
last
=
~
0
;
if
(
hwnd
==
HWND_BROADCAST
||
hwnd
==
HWND_TOPMOST
||
hwnd
==
HWND_BOTTOM
)
hwnd
=
(
HWND
)
-
1
;
if
(
hwnd
==
HWND_BROADCAST
)
hwnd
=
HWND_TOPMOST
;
for
(;;)
{
...
...
server/queue.c
View file @
4d33d498
...
...
@@ -636,7 +636,7 @@ static void reply_message( struct msg_queue *queue, lparam_t result,
static
int
match_window
(
user_handle_t
win
,
user_handle_t
msg_win
)
{
if
(
!
win
)
return
1
;
if
(
win
==
(
user_handle_t
)
-
1
)
return
!
msg_win
;
if
(
win
==
-
1
||
win
==
1
)
return
!
msg_win
;
if
(
msg_win
==
win
)
return
1
;
return
is_child_window
(
win
,
msg_win
);
}
...
...
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