g_assert(!self->invalid);
g_assert(client);
- newy = MAX(client->frame->area.y +
- client->frame->a_focused_title->area.height + theme_bwidth,
- y - theme_bwidth);
+ newy = MAX(client->frame->area.y + client->frame->size.top, y);
+ newy -= theme_bwidth;
POINT_SET(self->location,
MIN(x, screen_physical_size.width - self->size.width -