Properly keep track of Window Visibility, action state
This fixes inconsistent WM::Proxy state when a window is destroyed Specifically "session-options-editor" when the session is unloaded; previously "toggle-session-options-editor" was never unset.
This commit is contained in:
parent
9ccc56e162
commit
9004a0df7a
@ -211,11 +211,11 @@ void
|
||||
WindowProxy::drop_window ()
|
||||
{
|
||||
if (_window) {
|
||||
_window->hide ();
|
||||
delete_connection.disconnect ();
|
||||
configure_connection.disconnect ();
|
||||
map_connection.disconnect ();
|
||||
unmap_connection.disconnect ();
|
||||
_window->hide ();
|
||||
delete _window;
|
||||
_window = 0;
|
||||
delete vistracker;
|
||||
|
Loading…
Reference in New Issue
Block a user