Though in theory, "the toolkit should handle this" doesn't sound too bad. But it is probably not that surprising that it isn't true, as the toolkits worked so long mainly with X only, and not for stuff so close to X like window managers.
That's why I liked this article, he shows good examples.