13
0

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:
Robin Gareus 2018-12-08 22:38:03 +01:00
parent 9ccc56e162
commit 9004a0df7a
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -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;