Re: minor fix for GdkPixbuf



Hi,

This is the obvious change but it doesn't actually work due to a race
condition - the window can move between the call to get its position
and the actual gdk_image_get().

I'll merge your patch with some other fixes I have to GdkPixbuf; 
the solution to the race condition is to grab the server before
getting the window position, and release after calling
gdk_image_get().

This means putting the clipping in a slightly different place,
etc. But I hadn't written the clip code yet, so thanks for that.

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]