Skip to content

Commit

Permalink
server: Don't check for a hung queue when sending low-level hooks.
Browse files Browse the repository at this point in the history
Since user32 does this.

This logic is independent of the SMTO_ABORTIFHUNG logic on Windows. In fact, IsHungAppWindow() uses yet another algorithm.
  • Loading branch information
zfigura authored and aeikum committed Oct 13, 2020
1 parent 5d0bdb1 commit b48ce9a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/queue.c
Original file line number Diff line number Diff line change
Expand Up @@ -1641,7 +1641,6 @@ static int send_hook_ll_message( struct desktop *desktop, struct message *hardwa

if (!(hook_thread = get_first_global_hook( id ))) return 0;
if (!(queue = hook_thread->queue)) return 0;
if (is_queue_hung( queue )) return 0;

if (!(msg = mem_alloc( sizeof(*msg) ))) return 0;

Expand Down

0 comments on commit b48ce9a

Please sign in to comment.