parent
6c43764470
commit
04f8e4ffcd
1
src/E.h
1
src/E.h
|
@ -507,6 +507,7 @@ struct _eobj
|
|||
char sticky;
|
||||
char floating;
|
||||
char shown;
|
||||
char gone;
|
||||
#if USE_COMPOSITE
|
||||
char shadow; /* Enable shadows */
|
||||
unsigned int opacity;
|
||||
|
|
|
@ -1306,7 +1306,7 @@ ECompMgrWinDel(EObj * eo, Bool gone, Bool do_fade __UNUSED__)
|
|||
}
|
||||
else
|
||||
{
|
||||
if (Conf_compmgr.mode == ECM_MODE_WINDOW)
|
||||
if (!eo->gone && Conf_compmgr.mode == ECM_MODE_WINDOW)
|
||||
XCompositeUnredirectWindow(disp, eo->win, CompositeRedirectManual);
|
||||
}
|
||||
|
||||
|
|
|
@ -227,6 +227,7 @@ void
|
|||
EobjWindowDestroy(EObj * eo)
|
||||
{
|
||||
EDestroyWindow(eo->win);
|
||||
eo->gone = 1;
|
||||
EobjDestroy(eo);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue