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:
parent
6d299fc9a4
commit
281b293440
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue