mirror of
https://github.com/Ximi1970/systray-x.git
synced 2026-05-07 06:36:29 +02:00
Fix hide using minimize button
This commit is contained in:
@@ -103,6 +103,17 @@ void WindowCtrlWin::normalizeWindow( quint64 window )
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Hide a window
|
||||
*/
|
||||
void WindowCtrlWin::hideWindow( quint64 window , bool state )
|
||||
{
|
||||
if( state )
|
||||
{
|
||||
hideWindow( (HWND)window );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Hide a window
|
||||
*/
|
||||
|
||||
@@ -73,6 +73,14 @@ class WindowCtrlWin : public QObject
|
||||
*/
|
||||
void normalizeWindow( quint64 window );
|
||||
|
||||
/**
|
||||
* @brief WindowCtrlWin::hideWindow
|
||||
*
|
||||
* @param window The window.
|
||||
* @param state Hide from taskbar.
|
||||
*/
|
||||
void hideWindow( quint64 window , bool state );
|
||||
|
||||
private:
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user