Fix stacking before shade/unshade when "click-raises" is enabled (noted by Sven Faerber).
SVN revision: 28707
This commit is contained in:
parent
94fd9c066f
commit
9468905ea1
|
@ -1441,6 +1441,9 @@ DeskRestack(Desk * dsk)
|
|||
int i, num, tot;
|
||||
EObj *const *lst, *eo;
|
||||
|
||||
if (!dsk->stack.dirty)
|
||||
return;
|
||||
|
||||
/* Special case if only one window needs restacking */
|
||||
if (dsk->stack.dirty == 1)
|
||||
{
|
||||
|
|
|
@ -985,6 +985,8 @@ EwinShade(EWin * ewin)
|
|||
if ((ewin->border) && (!strcmp(ewin->border->name, "BORDERLESS")))
|
||||
return;
|
||||
|
||||
DeskRestack(EoGetDesk(ewin)); /* Do any pending stacking ops now */
|
||||
|
||||
speed = Conf.shading.speed;
|
||||
|
||||
x = EoGetX(ewin);
|
||||
|
@ -1159,6 +1161,8 @@ EwinUnShade(EWin * ewin)
|
|||
if (!ewin->state.shaded || ewin->state.iconified)
|
||||
return;
|
||||
|
||||
DeskRestack(EoGetDesk(ewin)); /* Do any pending stacking ops now */
|
||||
|
||||
speed = Conf.shading.speed;
|
||||
|
||||
x = EoGetX(ewin);
|
||||
|
|
Loading…
Reference in New Issue