xcb_send_event(conn, false, window, XCB_EVENT_MASK_STRUCTURE_NOTIFY, (char*)&generated_event);
xcb_flush(conn);
-
- LOG("Told the client it is at %dx%d with %dx%d\n", r.x, r.y, r.width, r.height);
}
/*
absolute.x = client->rect.x + client->child_rect.x;
absolute.y = client->rect.y + client->child_rect.y;
- absolute.width = client->rect.width - (2 * client->child_rect.x);
- absolute.height = client->rect.height - client->child_rect.y - 1;
+ absolute.width = client->child_rect.width;
+ absolute.height = client->child_rect.height;
fake_configure_notify(conn, absolute, client->child);
}
#else
/* For now, we only use the first keysymbol. */
xcb_keycode_t *numlock_syms = xcb_key_symbols_get_keycode(keysyms, XCB_NUM_LOCK);
+ if (numlock_syms == NULL)
+ return;
xcb_keycode_t numlock = *numlock_syms;
free(numlock_syms);
#endif