forked from AuroraMiddleware/gtk
Fix an off-by-one error in serial range handling
trap->end_sequence is the first serial for which we don't ignore errors anymore, so we know the trap is dead if end_sequence <= processed_serial. Bug 629608
This commit is contained in:
parent
0f88b6808c
commit
59bc9e8860
@ -2772,7 +2772,7 @@ delete_outdated_error_traps (GdkDisplayX11 *display_x11)
|
||||
GdkErrorTrap *trap = tmp_list->data;
|
||||
|
||||
if (trap->end_sequence != 0 &&
|
||||
SEQUENCE_COMPARE (trap->end_sequence, <, processed_sequence))
|
||||
SEQUENCE_COMPARE (trap->end_sequence, <=, processed_sequence))
|
||||
{
|
||||
GSList *free_me = tmp_list;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user