Putting a pixmap into a window every frame

2021-08-22 Thread Andrew Bainbridge
Hi I'm a reformed Windows programmer trying to understand the big-picture of how X11 manages frame buffers. With a typical compositing manager and, say, the xeyes app, how many frame buffers are there? How many are in system memory and how many in GPU memory? Is flipping employed? Is this kind

Re: Putting a pixmap into a window every frame

2021-08-23 Thread Andrew Bainbridge
Great reply. Thanks for taking the time. Carsten Haitzler wrote: > I now can only talk > about mine and it does NOT do the above. There is a parent frame window but it > is identical in size to the client. It's just used for control. The > frame/border is drawn inside the compositor itself... Ver

Re: The keyboard interfaces and protocols in X

2022-02-14 Thread Andrew Bainbridge
I tried to do something similar and had the same experience. I still don't know how to convert keyboard events to something useful like UTF-8. (I was actually aiming for Latin-1 to start with). My terrible code is here: https://github.com/abainbridge/deadfrog-lib/blob/master/src/df_window_x11.cp