[PATCH] Kwin (Was: Fwd: Bug#40234: menubar disappears when dekstopicons are disabled)

Waldo Bastian bastian at kde.org
Tue Apr 9 00:23:14 BST 2002


On Monday 08 April 2002 03:09 pm, Cristian Tibirna wrote:
> On Monday, 08 April 2002 15:51, Waldo Bastian wrote:
> > Please review the following KWin patch. When desktop icons are disabled
> > there is no desktop widget so the current test for the menubar fails.
>
> I don't see why
> if (*it)->isMenu() && (*it)->mainClient() == (*it)
> will ever return anything other than false but in the rest patch sounds OK.

That happens when the widget is it's own "mainClient". E.g. when you run 
kdesktop without the desktop part.

Cheers,
Waldo
-- 
bastian at kde.org  |   SuSE Labs KDE Developer  |  bastian at suse.com





More information about the kde-core-devel mailing list