mirror of
https://github.com/Ximi1970/systray-x.git
synced 2026-05-07 00:05:36 +02:00
Handle withdrawn state
This commit is contained in:
@@ -210,6 +210,14 @@ void WindowCtrlUnix::findWindows( qint64 pid )
|
||||
if( wm_state_ptr != nullptr )
|
||||
{
|
||||
state = *reinterpret_cast<long *>( wm_state_ptr );
|
||||
|
||||
if( state == 0 )
|
||||
{
|
||||
state = -1;
|
||||
|
||||
Free( wm_state_ptr );
|
||||
wm_state_ptr = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef DEBUG_DISPLAY_ACTIONS_DETAILS
|
||||
|
||||
@@ -282,10 +282,7 @@ void WindowCtrl::slotShowHide()
|
||||
|
||||
#ifdef Q_OS_UNIX
|
||||
|
||||
|
||||
// skoksdkdsofsdvjsdvsdmvdsvmdopvmopsdvmsp
|
||||
|
||||
// updatePositions();
|
||||
updatePositions();
|
||||
|
||||
#endif
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user