| commit | 63342353bcbb64cdaf61a554433be40b27a7d14f | [log] [tgz] |
|---|---|---|
| author | Alexandre Julliard <julliard@winehq.org> | Wed May 11 13:03:15 2005 +0000 |
| committer | Alexandre Julliard <julliard@winehq.org> | Wed May 11 13:03:15 2005 +0000 |
| tree | 89fec1901ac90c7593449cacc3a3c47b44c9aa12 | |
| parent | ea6ecf44ff7215b5a97ed3545376598464aba4f9 [diff] [blame] |
Store a bitmap of active hooks on the client side to try to avoid server calls for hooks that are not set.
diff --git a/server/queue.c b/server/queue.c index a0617a1..bdce76a 100644 --- a/server/queue.c +++ b/server/queue.c
@@ -1572,6 +1572,8 @@ struct msg_queue *queue = get_current_queue(); user_handle_t get_win = get_user_full_handle( req->get_win ); + reply->active_hooks = get_active_hooks(); + if (!queue) return; gettimeofday( &queue->last_get_msg, NULL );