mirror of
https://github.com/Ximi1970/systray-x.git
synced 2026-05-07 00:56:52 +02:00
Fix hide for Xubuntu 18.04
This commit is contained in:
@@ -270,12 +270,24 @@ void WindowCtrlUnix::minimizeWindow( quint64 window, bool hide )
|
||||
|
||||
Window win = static_cast<Window>( window );
|
||||
|
||||
/*
|
||||
* Most systems
|
||||
*/
|
||||
if( hide )
|
||||
{
|
||||
hideWindow( win, hide );
|
||||
}
|
||||
|
||||
XIconifyWindow( m_display, win, m_screen );
|
||||
|
||||
/*
|
||||
* Xubuntu 18.04 needs this one
|
||||
*/
|
||||
if( hide )
|
||||
{
|
||||
hideWindow( win, hide );
|
||||
}
|
||||
|
||||
XFlush( m_display );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user