From 281b29344024c442a7857d76057ff15be1a3e504 Mon Sep 17 00:00:00 2001 From: Kurt Granroth Date: Sat, 8 Apr 2000 18:45:20 +0000 Subject: [PATCH] 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 --- workspace.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/workspace.cpp b/workspace.cpp index a3472bde23..ff36965ce6 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -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;