SVN revision: 24604
This commit is contained in:
Kim Woelders 2006-08-12 15:40:57 +00:00
parent be11563150
commit 11ee1e8561
4 changed files with 9 additions and 9 deletions

View File

@ -71,8 +71,8 @@ CoordsShow(EWin * ewin)
/* Width hysteresis (hack - assuming horizontal text) */
cw += 8;
if (eo && abs(eo->w - cw) < 8)
cw = eo->w;
if (eo && abs(EobjGetW(eo) - cw) < 8)
cw = EobjGetW(eo);
if (Mode.mode == MODE_MOVE)
md = Conf.movres.mode_move;

View File

@ -1225,9 +1225,9 @@ IPC_ObjInfo(const char *params __UNUSED__, Client * c __UNUSED__)
eo = lst[i];
IpcPrintf
(" %2d %#9lx %2d %d %d %2d %3d %d %d %3d %5d,%5d %4dx%4d %d %d %s\n",
i, WinGetXwin(eo->win), WinGetDepth(eo->win), eo->type, eo->shown,
i, EobjGetXwin(eo), WinGetDepth(eo->win), eo->type, eo->shown,
eo->shaped, eo->desk->num, eo->sticky, eo->floating, eo->ilayer,
eo->x, eo->y, eo->w, eo->h,
EobjGetX(eo), EobjGetY(eo), EobjGetW(eo), EobjGetH(eo),
#if USE_COMPOSITE
(eo->cmhook) ? 1 : 0, !eo->noredir
#else

View File

@ -117,9 +117,9 @@ ProgressbarDestroy(Progressbar * p)
pp = plist[j + 1];
plist[j] = pp;
EobjMove(pp->win, pp->win->x, pp->win->y - dy);
EobjMove(pp->n_win, pp->n_win->x, pp->n_win->y - dy);
EobjMove(pp->p_win, pp->p_win->x, pp->p_win->y - dy);
EobjMove(pp->win, EobjGetX(pp->win), EobjGetY(pp->win) - dy);
EobjMove(pp->n_win, EobjGetX(pp->n_win), EobjGetY(pp->n_win) - dy);
EobjMove(pp->p_win, EobjGetX(pp->p_win), EobjGetY(pp->p_win) - dy);
}
break;
}

View File

@ -579,8 +579,8 @@ TooltipShow(ToolTip * tt, const char *text, ActionClass * ac, int x, int y)
{
eo = tt->win[i];
if (eo)
ImageclassApply(tt->iclass[i], eo->win, eo->w, eo->h, 0, 0,
STATE_NORMAL, ST_TOOLTIP);
ImageclassApply(tt->iclass[i], eo->win, EobjGetW(eo), EobjGetH(eo),
0, 0, STATE_NORMAL, ST_TOOLTIP);
}
for (i = 0; i < 5; i++)