Summary: | When using Mac style menus the Application menu is lost when detach a tab in konqueror | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | mhirsch |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Mandrake RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
mhirsch
2004-01-08 05:48:41 UTC
CVS commit by lunakl: Before using the global desktop topmenu, try to find any topmenu belonging to the application. CCMAIL: 72113-done@bugs.kde.org M +11 -0 workspace.cpp 1.459 --- kdebase/kwin/workspace.cpp #1.458:1.459 @@ -547,4 +547,15 @@ void Workspace::updateCurrentTopMenu() menu_client = menu_client->transientFor(); } + if( !menubar ) + { // try to find any topmenu from the application (#72113) + for( ClientList::ConstIterator it = active_client->group()->members().begin(); + it != active_client->group()->members().end(); + ++it ) + if( (*it)->isTopMenu()) + { + menubar = *it; + break; + } + } } if( !menubar && !block_desktop_menubar && options->desktopTopMenu()) |