E (Illume): Update border layer position to match changes in

e_container_layer_map.



SVN revision: 77297
This commit is contained in:
Christopher Michael 2012-10-02 10:21:09 +00:00
parent 9971b20cdb
commit 6608e80725
1 changed files with 6 additions and 12 deletions

View File

@ -126,14 +126,12 @@ _policy_border_resize(E_Border *bd, int w, int h)
static void
_policy_border_hide_above(E_Border *bd)
{
int pos = 0, layer = 0, i;
int pos = 0, i;
if (!bd) return;
/* determine layering position */
layer = bd->layer;
if (layer < 0) layer = 0;
pos = 1 + (layer / 50);
pos = (bd->layer / 50);
if (pos > 10) pos = 10;
/* Find the windows above this one */
@ -165,14 +163,12 @@ _policy_border_hide_above(E_Border *bd)
static void
_policy_border_hide_below(E_Border *bd)
{
int pos = 0, layer = 0, i;
int pos = 0, i;
if (!bd) return;
/* determine layering position */
layer = bd->layer;
if (layer < 0) layer = 0;
pos = 1 + (layer / 50);
pos = (bd->layer / 50);
if (pos > 10) pos = 10;
/* Find the windows below this one */
@ -218,7 +214,7 @@ _policy_border_show_below(E_Border *bd)
{
Eina_List *l;
E_Border *prev;
int pos = 0, layer = 0, i;
int pos = 0, i;
// printf("Show Borders Below: %s %d %d\n",
// bd->client.icccm.class, bd->x, bd->y);
@ -235,9 +231,7 @@ _policy_border_show_below(E_Border *bd)
}
/* determine layering position */
layer = bd->layer;
if (layer < 0) layer = 0;
pos = 1 + (layer / 50);
pos = (bd->layer / 50);
if (pos > 10) pos = 10;
/* Find the windows below this one */