Fix issue #2184. don't send atom, but raw code

XEMBED messages aren't atoms, but just codes, so i3bar should just send
XEMBED_EMBEDDED_NOTIFY rather than indexing the atom array.
next
Nick Lanham 2016-01-31 12:21:47 -08:00
parent b565676fb7
commit 8f2d066dc6
1 changed files with 1 additions and 1 deletions

View File

@ -824,7 +824,7 @@ static void handle_client_message(xcb_client_message_event_t *event) {
ev->type = atoms[_XEMBED];
ev->format = 32;
ev->data.data32[0] = XCB_CURRENT_TIME;
ev->data.data32[1] = atoms[XEMBED_EMBEDDED_NOTIFY];
ev->data.data32[1] = XEMBED_EMBEDDED_NOTIFY;
ev->data.data32[2] = output->bar.id;
ev->data.data32[3] = xe_version;
xcb_send_event(xcb_connection,