The log message at the top of ipc_send_window_event would segfault when
no xcb window is present, such as for a split container.
The log now shows the con id which is more relevant anyway.
* also the window container, in "container".
*/
void ipc_send_window_event(const char *property, Con *con) {
- DLOG("Issue IPC window %s event for X11 window 0x%08x\n", property, con->window->id);
+ DLOG("Issue IPC window %s event (con = %p, window = 0x%08x)\n",
+ property, con, (con->window ? con->window->id : XCB_WINDOW_NONE));
setlocale(LC_NUMERIC, "C");
yajl_gen gen = ygenalloc();