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
b0760fc2
Commit
b0760fc2
authored
Mar 03, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Set the idle event when PeekMessage is called with -1 as window filter.
parent
4d33d498
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
0 deletions
+43
-0
msg.c
dlls/user32/tests/msg.c
+42
-0
queue.c
server/queue.c
+1
-0
No files found.
dlls/user32/tests/msg.c
View file @
b0760fc2
...
...
@@ -12080,6 +12080,13 @@ static const struct
{
0
,
0
,
FALSE
},
{
0
,
WAIT_TIMEOUT
,
FALSE
},
{
0
,
0
,
FALSE
},
{
0
,
0
,
FALSE
},
/* 15 */
{
0
,
0
,
FALSE
},
{
WAIT_TIMEOUT
,
0
,
FALSE
},
{
WAIT_TIMEOUT
,
0
,
FALSE
},
{
WAIT_TIMEOUT
,
0
,
FALSE
},
{
WAIT_TIMEOUT
,
0
,
FALSE
},
/* 20 */
{
WAIT_TIMEOUT
,
0
,
FALSE
},
};
static
DWORD
CALLBACK
do_wait_idle_child_thread
(
void
*
arg
)
...
...
@@ -12205,6 +12212,41 @@ static void do_wait_idle_child( int arg )
WaitForSingleObject
(
thread
,
10000
);
CloseHandle
(
thread
);
break
;
case
14
:
SetEvent
(
start_event
);
Sleep
(
200
);
PeekMessage
(
&
msg
,
HWND_TOPMOST
,
0
,
0
,
PM_NOREMOVE
);
break
;
case
15
:
SetEvent
(
start_event
);
Sleep
(
200
);
PeekMessage
(
&
msg
,
HWND_BROADCAST
,
0
,
0
,
PM_NOREMOVE
);
break
;
case
16
:
SetEvent
(
start_event
);
Sleep
(
200
);
PeekMessage
(
&
msg
,
HWND_BOTTOM
,
0
,
0
,
PM_NOREMOVE
);
break
;
case
17
:
SetEvent
(
start_event
);
Sleep
(
200
);
PeekMessage
(
&
msg
,
(
HWND
)
0xdeadbeef
,
0
,
0
,
PM_NOREMOVE
);
break
;
case
18
:
SetEvent
(
start_event
);
Sleep
(
200
);
PeekMessage
(
&
msg
,
HWND_NOTOPMOST
,
0
,
0
,
PM_NOREMOVE
);
break
;
case
19
:
SetEvent
(
start_event
);
Sleep
(
200
);
PeekMessage
(
&
msg
,
HWND_MESSAGE
,
0
,
0
,
PM_NOREMOVE
);
break
;
case
20
:
SetEvent
(
start_event
);
Sleep
(
200
);
PeekMessage
(
&
msg
,
GetDesktopWindow
(),
0
,
0
,
PM_NOREMOVE
);
break
;
}
WaitForSingleObject
(
end_event
,
2000
);
CloseHandle
(
start_event
);
...
...
server/queue.c
View file @
b0760fc2
...
...
@@ -1819,6 +1819,7 @@ DECL_HANDLER(get_message)
return
;
}
if
(
get_win
==
-
1
&&
current
->
process
->
idle_event
)
set_event
(
current
->
process
->
idle_event
);
queue
->
wake_mask
=
req
->
wake_mask
;
queue
->
changed_mask
=
req
->
changed_mask
;
set_error
(
STATUS_PENDING
);
/* FIXME */
...
...
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