In KDE we will solve that by having our own compositor KWin, which also manages the windows.
>> As a developer who's worked on things that have to deal with X directly
>> like taskbars and screenshot tools all I can say is bring on wayland!
>> Wayland is immature right now, but the design is what we need.
> Wayland does not support taskbars and has some troubles with screenshots
> by design. How are you going to port your tools to wayland? ;)
Taskbars I haven't looked at yet, but it'll probably be a case of agreeing a protocol with kwin (and hopefully other compositors). For screenshots there's already a basic interface in weston that provides the basics, but it will need extending to cover the more complex facilities. As I said, it's a bit immature at the moment. The facilities required are actually pretty simple, so I don't see it being a problem.