Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
jacob-wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jacob Czekalla
jacob-wine
Commits
ff8f6e86
Commit
ff8f6e86
authored
13 years ago
by
Francois Gouget
Committed by
Alexandre Julliard
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
user32: When destroying a window, preserve the first WM_QUIT message that was posted to it.
parent
30f2c661
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dlls/user32/tests/msg.c
+1
-1
1 addition, 1 deletion
dlls/user32/tests/msg.c
server/queue.c
+9
-1
9 additions, 1 deletion
server/queue.c
with
10 additions
and
2 deletions
dlls/user32/tests/msg.c
+
1
−
1
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[] = {
...
...
This diff is collapsed.
Click to expand it.
server/queue.c
+
9
−
1
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
);
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment