forked from e16/e16
1
0
Fork 0

Change some function names.

SVN revision: 37677
This commit is contained in:
Kim Woelders 2008-11-16 17:20:37 +00:00
parent 1f4a4041ff
commit 25c27e2cfd
6 changed files with 9 additions and 9 deletions

View File

@ -574,7 +574,7 @@ EwinBorderSetTo(EWin * ewin, const Border * b)
}
void
EwinSetBorder(EWin * ewin, const Border * b, int apply)
EwinBorderChange(EWin * ewin, const Border * b, int apply)
{
if (!b || ewin->border == b || ewin->inh_wm.b.border)
return;
@ -598,9 +598,9 @@ EwinSetBorder(EWin * ewin, const Border * b, int apply)
}
void
EwinSetBorderByName(EWin * ewin, const char *name)
EwinBorderSetInitially(EWin * ewin, const char *name)
{
EwinSetBorder(ewin, BorderFind(name), 0);
EwinBorderChange(ewin, BorderFind(name), 0);
}
static Border *

View File

@ -92,8 +92,8 @@ void EwinBorderDraw(EWin * ewin, int do_shape, int do_paint);
void EwinBorderCalcSizes(EWin * ewin, int propagate);
void EwinBorderMinShadeSize(EWin * ewin, int *mw, int *mh);
void EwinBorderUpdateInfo(EWin * ewin);
void EwinSetBorder(EWin * ewin, const Border * b, int apply);
void EwinSetBorderByName(EWin * ewin, const char *name);
void EwinBorderChange(EWin * ewin, const Border * b, int apply);
void EwinBorderSetInitially(EWin * ewin, const char *name);
int BorderWinpartIndex(EWin * ewin, Win win);
void BorderCheckState(EWin * ewin, XEvent * ev);
Border *BorderCreateFiller(int left, int right, int top,

View File

@ -1717,7 +1717,7 @@ EwinOpSetBorder(EWin * ewin, int source __UNUSED__, const char *name)
shadechange = 1;
EwinInstantUnShade(gwins[i]);
}
EwinSetBorder(gwins[i], b, 1);
EwinBorderChange(gwins[i], b, 1);
if (shadechange)
EwinInstantShade(gwins[i], 0);
}

View File

@ -526,7 +526,7 @@ ShowHideWinGroups(EWin * ewin, int group_index, char onoff)
if (b)
{
EwinSetBorder(gwins[i], b, 1);
EwinBorderChange(gwins[i], b, 1);
SnapshotEwinUpdate(gwins[i], SNAP_USE_GROUPS);
}
}

View File

@ -461,7 +461,7 @@ EHintsGetInfo(EWin * ewin)
ecore_x_window_prop_string_get(EwinGetClientXwin(ewin),
E16_ATOM_WIN_BORDER);
if (str)
EwinSetBorderByName(ewin, str);
EwinBorderSetInitially(ewin, str);
Efree(str);
if (EDebug(EDBUG_TYPE_SNAPS))

View File

@ -1470,7 +1470,7 @@ SnapshotEwinApply(EWin * ewin)
ewin->state.shaded = sn->shaded;
if (use_flags & SNAP_USE_BORDER)
EwinSetBorderByName(ewin, sn->border_name);
EwinBorderSetInitially(ewin, sn->border_name);
if (use_flags & SNAP_USE_GROUPS)
GroupsEwinAdd(ewin, sn->groups, sn->num_groups);