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 -= ob_rr_theme->bwidth;
POINT_SET(self->location,
MIN(x, screen_physical_size.width - self->size.width -
- theme_bwidth * 2),
+ ob_rr_theme->bwidth * 2),
MIN(newy, screen_physical_size.height - self->size.height -
- theme_bwidth * 2));
+ ob_rr_theme->bwidth * 2));
XMoveWindow(ob_display, self->frame, self->location.x, self->location.y);
if (!self->shown) {
void *plugin_create() /* TODO: need config */
{
Menu *m = menu_new_full(NULL, "client-menu", NULL,
- client_menu_show, NULL);
+ /*client_menu_show*/NULL, NULL);
menu_add_entry(m, menu_entry_new_submenu("Send To Workspace",
send_to_menu));
send_to_menu->parent = m;