Top-most windows

Soeren Sandmann sandmann at redhat.com
Thu Jan 19 07:23:57 PST 2006


Keith Packard wrote:

>>Please describe this alternative so I can make sure I'm not
>>misunderstanding you. Are you referring to the RaiseWindow kludge?
>>    
>>
>
>Yes, RaiseWindow works "fine" today, and requires no server grabs to
>function reasonably well. It's not perfect, but I submit that you'll
>want to support this mode in any case as it will permit LG to run across
>several X server versions.
>  
>
I realized that you actually only need the grab during 
RaiseWindow/SwapBuffers:

- Draw stuff
- glFinish()
- grab server
- raise window
- swap buffers
- ungrab server

Which will only hold the grab for a very short amount of time.


Soren


More information about the xorg-arch mailing list