Formatting. Fix comments.

SVN revision: 44427
This commit is contained in:
Christopher Michael 2009-12-13 18:14:24 +00:00
parent d578a3f0f2
commit 1b14226912
2 changed files with 5 additions and 3 deletions

View File

@ -632,11 +632,12 @@ static int
_cb_event_client_message(void *data, int type, void *event)
{
Ecore_X_Event_Client_Message *ev;
E_Border *bd;
ev = event;
if (ev->message_type == ECORE_X_ATOM_NET_ACTIVE_WINDOW)
{
E_Border *bd;
bd = e_border_find_by_client_window(ev->win);
if (bd->stolen) return 1;
if ((mode) && (mode->funcs.border_activate))

View File

@ -133,7 +133,8 @@ _zone_layout(E_Zone *z)
}
else
{
if ((bd->w != z->w) || (bd->h != (z->h - shelfsize - panelsize)))
if ((bd->w != z->w) ||
(bd->h != (z->h - shelfsize - panelsize)))
e_border_resize(bd, z->w, (z->h - shelfsize - panelsize));
if ((bd->x != z->x) || (bd->y != (z->y + shelfsize)))
e_border_fx_offset(bd, z->x, (z->y + shelfsize));
@ -150,7 +151,7 @@ _zone_layout(E_Zone *z)
bh = (z->h - shelfsize - panelsize);
/* in dual mode */
if (il_cfg->policy.mode.side == 0) /* top/left */
if (il_cfg->policy.mode.side == 0) /* top/bottom */
{
bh = ((z->h - shelfsize - panelsize) / 2);
b = illume_border_at_xy_get(bx, by);