[CinCV TNG] [PATCH] Rewrite of BC_DisplayInfo::test_window

Einar Rünkaru einarrunkaru at gmail.com
Mon Apr 27 21:19:42 CEST 2015


Hi.

On 04/27/2015 09:47 PM, Johannes Sixt wrote:
> Am 26.04.2015 um 22:23 schrieb Einar Rünkaru:
>> Hi.
>>
>> On 04/25/2015 11:16 PM, Johannes Sixt wrote:
>
> The patch works.
>
> But is the usleep still required? The break condition of the loop is the
> DestroyNotify, and XNextEvent() will wait for an event anyway. For me,
> it works when I remove the usleep.

For my case (ubuntu 14.04 almost default settings) usleep is required or 
there will be some sort of shortcut and the last ConfigureNotify with 
adjusted coordinates will not be sent.
>
> BTW, the new 'break;' is not indented correctly.

Will fix it.

Thanks for testing.
Einar


More information about the Cinelerra mailing list