]> git.saurik.com Git - wxWidgets.git/commit
Do not set the wmclass for toplevels. This MUST be unique across the application...
authorMart Raudsepp <leio@gentoo.org>
Mon, 5 Jun 2006 17:57:37 +0000 (17:57 +0000)
committerMart Raudsepp <leio@gentoo.org>
Mon, 5 Jun 2006 17:57:37 +0000 (17:57 +0000)
commit5503a51cac96518f384565baea2bb271866dbf6d
treee5d97d05feed5e11850d5990ec028ed7190cac85
parent96bfe7feee455ee1d97a970c403c21d176634310
Do not set the wmclass for toplevels. This MUST be unique across the application, and GTK takes care of it for us
- don't screw it over.
Change it to set_role instead, but #if 0 out for now until some discussion about potential affect of this to
existing applications.
Toplevels that have a role set can be handled by the window manager, and store the positiong and size for them,
and restore it on later occasion. If apps do stupid things like don't have unique motif names set for different
toplevels, then this can cause problems with backwards compatibility. I am in favor of doing set_role, but it
needs a little discussion and testing.
Setting WM_CLASS is definately wrong, so just get rid of that till then.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/gtk/toplevel.cpp