From 8f2d066dc6440f94d896127e23633263fdb2b041 Mon Sep 17 00:00:00 2001 From: Nick Lanham Date: Sun, 31 Jan 2016 12:21:47 -0800 Subject: [PATCH] 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. --- i3bar/src/xcb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,