Take into account zone->y when setting position.

Don't need to lock border location unless we are changing zones.



SVN revision: 46056
This commit is contained in:
Christopher Michael 2010-02-10 17:24:33 +00:00
parent fc92b9a9dd
commit 2a915fae74
1 changed files with 3 additions and 3 deletions

View File

@ -80,7 +80,7 @@ e_mod_sft_win_new(E_Zone *zone)
e_win_size_min_set(swin->win, zone->w, (32 * e_scale));
/* position and resize the window */
e_win_move_resize(swin->win, zone->x, (zone->h - (32 * e_scale)),
e_win_move_resize(swin->win, zone->x, (zone->y + zone->h - (32 * e_scale)),
zone->w, (32 * e_scale));
/* show the window */
@ -91,7 +91,7 @@ e_mod_sft_win_new(E_Zone *zone)
/* tell illume conformant apps our position and size */
ecore_x_e_illume_bottom_panel_geometry_set(ecore_x_window_root_first_get(),
zone->x, (zone->h - (32 * e_scale)),
zone->x, (zone->y + zone->h - (32 * e_scale)),
zone->w, (32 * e_scale));
return swin;
}
@ -133,9 +133,9 @@ _e_mod_sft_win_cb_hook_eval_end(void *data, void *data2)
bd->y = (swin->zone->h - bd->h);
bd->changes.pos = 1;
bd->changed = 1;
bd->lock_user_location = 1;
e_border_zone_set(bd, swin->zone);
}
bd->lock_user_location = 1;
}
static void