forked from enlightenment/enlightenment
E: Fix window hide
The idea of not deleting the borders of unmapped windows started with r12777 to fix problems when changing virtual desktops. A lot of stuff was added later to fix this problem, but this original fix has lived on. When hunting down a mplayer bug raster commented in r14744: "we need to re-enable the above. when clients hide windows they often dont destory - keep around to do somethign else with. if we dont unmanage then we have all sorts of problems believeing it still exists. bigger problems than mplayer. :)" So I guess the right thing to do is to destroy the borders of hidden windows, fixes #917 SVN revision: 77363
This commit is contained in:
parent
ac67283ec2
commit
cf35adade9
|
@ -5006,8 +5006,7 @@ _e_border_cb_window_hide(void *data __UNUSED__,
|
|||
return ECORE_CALLBACK_PASS_ON;
|
||||
}
|
||||
/* Don't delete hidden or iconified windows */
|
||||
if ((bd->iconic) || ((!bd->visible) && (!bd->new_client)) ||
|
||||
(bd->await_hide_event > 0))
|
||||
if ((bd->iconic) || (bd->await_hide_event > 0))
|
||||
{
|
||||
// printf(" Don't delete hidden or iconified windows\n");
|
||||
// printf(" bd->iconic = %i, bd->visible = %i, bd->new_client = %i, bd->await_hide_event = %i\n",
|
||||
|
|
Loading…
Reference in New Issue