From: Nick Lanham Date: Sun, 31 Jan 2016 20:21:47 +0000 (-0800) Subject: Fix issue #2184. don't send atom, but raw code X-Git-Tag: 4.12~24^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=refs%2Fpull%2F2185%2Fhead;p=i3%2Fi3 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. --- diff --git a/i3bar/src/xcb.c b/i3bar/src/xcb.c index 0b9f094b..30111aab 100644 --- a/i3bar/src/xcb.c +++ b/i3bar/src/xcb.c @@ -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,