unroll the CCTOSC macro; from Thomas Pfaff

ok oga@
This commit is contained in:
okan
2009-08-27 01:38:08 +00:00
parent b9f8367089
commit 7295c51155
4 changed files with 14 additions and 16 deletions

View File

@@ -44,7 +44,7 @@ mousefunc_sweep_calc(struct client_ctx *cc, int x, int y, int mx, int my)
static void
mousefunc_sweep_draw(struct client_ctx *cc)
{
struct screen_ctx *sc = CCTOSC(cc);
struct screen_ctx *sc = cc->sc;
char asize[10]; /* fits "nnnnxnnnn\0" */
int width, height, width_size, width_name;
@@ -72,7 +72,7 @@ mousefunc_window_resize(struct client_ctx *cc, void *arg)
{
XEvent ev;
Time time = 0;
struct screen_ctx *sc = CCTOSC(cc);
struct screen_ctx *sc = cc->sc;
int x = cc->geom.x, y = cc->geom.y;
client_raise(cc);