Fix switch custom -> generic plugin UI
See alsoe635571f2f
andbd898a68
This commit is contained in:
parent
3b2eb7507b
commit
45398fb65c
|
@ -4796,11 +4796,12 @@ ProcessorWindowProxy::get (bool create)
|
||||||
void
|
void
|
||||||
ProcessorWindowProxy::show_the_right_window (bool show_not_toggle)
|
ProcessorWindowProxy::show_the_right_window (bool show_not_toggle)
|
||||||
{
|
{
|
||||||
_unmap_connection.disconnect ();
|
|
||||||
if (_window && (is_custom != want_custom)) {
|
if (_window && (is_custom != want_custom)) {
|
||||||
/* drop existing window - wrong type */
|
/* drop existing window - wrong type */
|
||||||
set_state_mask (Gtkmm2ext::WindowProxy::StateMask (state_mask () & ~WindowProxy::Size));
|
set_state_mask (Gtkmm2ext::WindowProxy::StateMask (state_mask () & ~WindowProxy::Size));
|
||||||
|
_unmap_connection.block ();
|
||||||
drop_window ();
|
drop_window ();
|
||||||
|
_unmap_connection.unblock ();
|
||||||
}
|
}
|
||||||
if (_window && fully_visible () && show_not_toggle) {
|
if (_window && fully_visible () && show_not_toggle) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue