|
From: | grischka |
Subject: | Re: GTK frame changes |
Date: | Thu, 02 Jul 2009 17:50:21 +0200 |
User-agent: | Thunderbird 1.5.0.10 (Windows/20070221) |
Jan Djärv wrote:
grischka skrev:Jan Djärv <address@hidden> wrote in Changelog:xg_frame_set_char_size): Do not set pixel width/height here or call change_frame_size. Just call flush_and_sync. (flush_and_sync): Reintroduced.Nice work and the idea is right IMO, just the problem remains that "flush_and_sync()" does not guarantee that the resize request was actually handled, i.e. that a ConfigureNotify was received before flush_and_sync() returns. In my tests in ~70% of runs this is not the case.No, it is not certain. But if the X server handles requests from clients in sequence (which it should), it is certain.
What makes you think that flush_and_sync would work if requests are handled sequentially by the X server? --- grischka
[Prev in Thread] | Current Thread | [Next in Thread] |