dont hide windows when switching to the current workspace
This commit is contained in:
parent
7175ac2b5a
commit
d7cc09cebd
2 changed files with 4 additions and 0 deletions
|
@ -655,6 +655,8 @@ void OBClient::setWMState(long state)
|
|||
|
||||
void OBClient::setDesktop(long target)
|
||||
{
|
||||
if (target == _desktop) return;
|
||||
|
||||
printf("Setting desktop %ld\n", target);
|
||||
assert(target >= 0 || target == (signed)0xffffffff);
|
||||
//assert(target == 0xffffffff || target < MAX);
|
||||
|
|
|
@ -648,6 +648,8 @@ void OBScreen::changeDesktop(long desktop)
|
|||
otk::OBProperty::Atom_Cardinal,
|
||||
_desktop);
|
||||
|
||||
if (old == _desktop) return;
|
||||
|
||||
OBClient::List::iterator it, end = clients.end();
|
||||
for (it = clients.begin(); it != end; ++it) {
|
||||
if ((*it)->desktop() == old) {
|
||||
|
|
Loading…
Reference in a new issue