forked from enlightenment/enlightenment
illume2: Fix layer to position map
There is a bug here somewhere. In _policy_border_show_below we search only the layers _above_ the window?!? SVN revision: 77298
This commit is contained in:
parent
6608e80725
commit
7e76afdd0a
|
@ -132,7 +132,7 @@ _policy_border_hide_above(E_Border *bd)
|
||||||
|
|
||||||
/* determine layering position */
|
/* determine layering position */
|
||||||
pos = (bd->layer / 50);
|
pos = (bd->layer / 50);
|
||||||
if (pos > 10) pos = 10;
|
if (pos >= 10) return;
|
||||||
|
|
||||||
/* Find the windows above this one */
|
/* Find the windows above this one */
|
||||||
for (i = (pos + 1); i < 11; i++)
|
for (i = (pos + 1); i < 11; i++)
|
||||||
|
@ -169,6 +169,7 @@ _policy_border_hide_below(E_Border *bd)
|
||||||
|
|
||||||
/* determine layering position */
|
/* determine layering position */
|
||||||
pos = (bd->layer / 50);
|
pos = (bd->layer / 50);
|
||||||
|
if (pos == 0) return;
|
||||||
if (pos > 10) pos = 10;
|
if (pos > 10) pos = 10;
|
||||||
|
|
||||||
/* Find the windows below this one */
|
/* Find the windows below this one */
|
||||||
|
|
Loading…
Reference in New Issue