|
From: | Dmitry Antipov |
Subject: | Re: On removing sequence_number from window structure |
Date: | Sat, 02 Feb 2013 21:32:49 +0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 |
On 02/02/2013 12:50 PM, martin rudalics wrote:
I'm afraid this change * window.h (struct window): ... Remove sequence_number member. ... * window.c (sequence_number): Remove. * print.c (print_object): Follow the printed representation of frames and print window pointer to distinguish between windows. will make debugging window code rather unpleasant. It's much simpler to think of windows in terms of sequence numbers than in terms of pointers.
Why? The only reason I can imagine is age tracking (e.g. the window with smaller sequence number is always created before the window with the larger one); is that so important? Are there other reasons? Dmitry
[Prev in Thread] | Current Thread | [Next in Thread] |