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
ff8f6e86
Commit
ff8f6e86
authored
Aug 05, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 23, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: When destroying a window, preserve the first WM_QUIT message that was posted to it.
parent
30f2c661
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
msg.c
dlls/user32/tests/msg.c
+1
-1
queue.c
server/queue.c
+9
-1
No files found.
dlls/user32/tests/msg.c
View file @
ff8f6e86
...
...
@@ -10241,7 +10241,7 @@ static void test_quit_message(void)
add_message
(
&
rmsg
);
DispatchMessage
(
&
msg
);
}
ok_sequence
(
WmStopQuitSeq
,
"WmStopQuitSeq"
,
TRU
E
);
ok_sequence
(
WmStopQuitSeq
,
"WmStopQuitSeq"
,
FALS
E
);
}
static
const
struct
message
WmMouseHoverSeq
[]
=
{
...
...
server/queue.c
View file @
ff8f6e86
...
...
@@ -1918,7 +1918,15 @@ void queue_cleanup_window( struct thread *thread, user_handle_t win )
LIST_FOR_EACH_SAFE
(
ptr
,
next
,
&
queue
->
msg_list
[
i
]
)
{
struct
message
*
msg
=
LIST_ENTRY
(
ptr
,
struct
message
,
entry
);
if
(
msg
->
win
==
win
)
remove_queue_message
(
queue
,
msg
,
i
);
if
(
msg
->
win
==
win
)
{
if
(
msg
->
msg
==
WM_QUIT
&&
!
queue
->
quit_message
)
{
queue
->
quit_message
=
1
;
queue
->
exit_code
=
msg
->
wparam
;
}
remove_queue_message
(
queue
,
msg
,
i
);
}
}
}
...
...
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