e:tiling: do nothing on desk_show/hide

SVN revision: 80393
This commit is contained in:
Boris Faure 2012-12-06 21:22:50 +00:00
parent 5bf8a6cab3
commit 104761a441
1 changed files with 8 additions and 0 deletions

View File

@ -3704,8 +3704,13 @@ _iconify_hook(void *data __UNUSED__, int type __UNUSED__, E_Event_Border_Iconify
{
E_Border *bd = event->border;
DBG("iconify hook: %p", bd);
end_special_input();
if (bd->deskshow)
return true;
check_tinfo(bd->desk);
if (!_G.tinfo->conf)
return true;
@ -3732,6 +3737,9 @@ _uniconify_hook(void *data __UNUSED__, int type __UNUSED__, E_Event_Border_Unico
end_special_input();
}
if (bd->deskshow)
return true;
check_tinfo(bd->desk);
if (!_G.tinfo->conf || !_G.tinfo->conf->nb_stacks) {
return true;