Hack to get the kdesktop mac menu sticky since KWin::setSticky doesn't exist

and KWM::setSticky doesn't work.

svn path=/trunk/kdebase/kwin/; revision=46004
This commit is contained in:
Kurt Granroth 2000-04-08 18:45:20 +00:00
parent 6d299fc9a4
commit 281b293440

View file

@ -123,6 +123,11 @@ Client* Workspace::clientFactory( Workspace *ws, WId w )
c->setSticky( TRUE );
return c;
}
if ( s == "MAC MENU [menu]" ) {
Client * c = new NoBorderClient( ws, w);
c->setSticky( TRUE );
return c;
}
if ( ( s.right(6) == "[menu]" ) || ( s.right(7) == "[tools]" ) ) {
Client * c = new NoBorderClient( ws, w);
return c;