mirror of
https://github.com/reactos/reactos.git
synced 2024-12-30 19:14:31 +00:00
re-show all hidden windows at explorer termination
svn path=/trunk/; revision=8121
This commit is contained in:
parent
418a293612
commit
9c5264c5eb
2 changed files with 10 additions and 1 deletions
|
@ -71,8 +71,16 @@ Desktop::~Desktop()
|
|||
|
||||
|
||||
Desktops::Desktops()
|
||||
: _current_desktop(0)
|
||||
{
|
||||
_current_desktop = 0;
|
||||
}
|
||||
|
||||
Desktops::~Desktops()
|
||||
{
|
||||
// show all hidden windows
|
||||
for(iterator it_dsk=begin(); it_dsk!=end(); ++it_dsk)
|
||||
for(WindowSet::iterator it=it_dsk->_windows.begin(); it!=it_dsk->_windows.end(); ++it)
|
||||
ShowWindowAsync(*it, SW_SHOW);
|
||||
}
|
||||
|
||||
void Desktops::init()
|
||||
|
|
|
@ -191,6 +191,7 @@ typedef Desktop DesktopRef;
|
|||
struct Desktops : public vector<DesktopRef>
|
||||
{
|
||||
Desktops();
|
||||
~Desktops();
|
||||
|
||||
void init();
|
||||
void SwitchToDesktop(int idx);
|
||||
|
|
Loading…
Reference in a new issue