window states persist across restarts
This commit is contained in:
parent
7417e2b54e
commit
0ea5de6247
1 changed files with 5 additions and 3 deletions
|
@ -98,9 +98,11 @@ OBClient::~OBClient()
|
||||||
{
|
{
|
||||||
const otk::OBProperty *property = Openbox::instance->property();
|
const otk::OBProperty *property = Openbox::instance->property();
|
||||||
|
|
||||||
|
if (Openbox::instance->state() != Openbox::State_Exiting) {
|
||||||
// these values should not be persisted across a window unmapping/mapping
|
// these values should not be persisted across a window unmapping/mapping
|
||||||
property->erase(_window, otk::OBProperty::net_wm_desktop);
|
property->erase(_window, otk::OBProperty::net_wm_desktop);
|
||||||
property->erase(_window, otk::OBProperty::net_wm_state);
|
property->erase(_window, otk::OBProperty::net_wm_state);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue