The sloppy focus
Par jd le mardi, mars 4 2008, 12:28 - awesome - Lien permanent
While most of you people and readers are doing quick and great works in Python, Ruby, or any modern language, there's still people like me fighting with The Low Level.
I like that, but the X architecture is just the proof of concept of an architecture which wrongly evolved because it was not designed to. Xlib and all concepts it is based upon where probably fun and sufficient in the 80's, but nowaday, it can really be a joke. I really hope that somedays Xorg will break things and start a new fresh X design (at least from Xlib point of view).
It's not that I think Xorg people are doing bad stuff, but there are mostly bailling out from a long code and design history IMHO.
So, last weeks I was trying to fix the sloppy focus in awesome. I've found a real interesting Web page from Alex Hioreanu about various issues that we encountered too. I've been trying ahwm hack, but it's not really reliable.
And then I've been trying a lot of things, and this morning I figured out something which works pretty well. It just fails in some corner case with GTK+ apps that are not reporting XMotionEvent when the pointer move, and I don't know why and how get them.
Let's see.
Commentaires
Do you already know about XCB? As far as redesigning Xlib goes, I think it represents either what you might want or the basis for building what you might want.
Try to do something like that under windows and you know what a really retarded API looks like.
Fil des commentaires de ce billet