Top-most windows

Deron Johnson Deron.Johnson at Sun.COM
Fri Jan 6 17:26:56 PST 2006



Keith Packard wrote On 01/06/06 17:16,:

>>If that's too hard to implement, then note that a 'topmost' window is 
>>not actually
>>necessary. The compositing manager only needs the window to be topmost when
>>it is actually drawing, ie:
>>
>>    grab_server();
>>    XRaiseWindow();
>>    draw_scene();
>>    ungrab_server();
>>
>>would be sufficient.
> 
> 
> This seems like it will work, although having a mechanism which doesn't
> require grabs is somewhat nicer looking.
> 
> -keith

Avoiding server grabs is not just nicer looking, it's critical for good
performance. Especially when the scene is drawn at 60 frames per second!



More information about the xorg-arch mailing list