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
b4227d72
Commit
b4227d72
authored
Nov 13, 2007
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Nov 13, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Make timer id allocation algorithm conform to the Windows one.
parent
c77bc840
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
queue.c
server/queue.c
+2
-2
No files found.
server/queue.c
View file @
b4227d72
...
...
@@ -269,7 +269,7 @@ static struct msg_queue *create_msg_queue( struct thread *thread, struct thread_
queue
->
paint_count
=
0
;
queue
->
quit_message
=
0
;
queue
->
recv_result
=
NULL
;
queue
->
next_timer_id
=
1
;
queue
->
next_timer_id
=
0x7fff
;
queue
->
timeout
=
NULL
;
queue
->
input
=
(
struct
thread_input
*
)
grab_object
(
input
);
queue
->
hooks
=
NULL
;
...
...
@@ -1950,7 +1950,7 @@ DECL_HANDLER(set_win_timer)
do
{
id
=
queue
->
next_timer_id
;
if
(
++
queue
->
next_timer_id
>=
0x10000
)
queue
->
next_timer_id
=
1
;
if
(
--
queue
->
next_timer_id
<=
0x100
)
queue
->
next_timer_id
=
0x7fff
;
}
while
(
find_timer
(
queue
,
0
,
req
->
msg
,
id
));
}
...
...
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