[linux-audio-user] hidden qjackctl - how to restore

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 5 Nov 2004 14:04:02 +0100
Florian Schmidt <mista.tapas@xxxxxxx> wrote:

> // Main form visibility requester slot.
> void qjackctlMainForm::toggleMainForm (void)
> {
>     m_pSetup->saveWidgetGeometry(this);
>     if (isVisible()) {
>       if (m_pSetup->bSystemTray) {
> 	hide();
>       }
>       else {
> 	// iconify normally
> 	setWindowState(Qt::WindowMinimized);
>       }
>     } else {
>         show();
>         raise();
>         setActiveWindow();
>     }
> }
> 
> this works at least for me. 

Oh, i see there's an option in the Setup dialog "enable system tray icon".
It was off. After turning it on, qjackctl doesn't disappear completely when
hiding (the original unpatched version).

Ok, above modification still seems to do the right thing (tm) imho. When
enable system tray is off, it gets minimized normally.

flo

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux