cleanup i3 sync protocol messages
This commit is contained in:
parent
1d95d296a5
commit
ac8b2f637f
|
@ -624,10 +624,9 @@ static void handle_client_message(xcb_client_message_event_t *event) {
|
||||||
tree_render();
|
tree_render();
|
||||||
x_push_changes(croot);
|
x_push_changes(croot);
|
||||||
} else if (event->type == A_I3_SYNC) {
|
} else if (event->type == A_I3_SYNC) {
|
||||||
DLOG("i3 sync, yay\n");
|
|
||||||
xcb_window_t window = event->data.data32[0];
|
xcb_window_t window = event->data.data32[0];
|
||||||
uint32_t rnd = event->data.data32[1];
|
uint32_t rnd = event->data.data32[1];
|
||||||
DLOG("Sending random value %d back to X11 window 0x%08x\n", rnd, window);
|
DLOG("[i3 sync protocol] Sending random value %d back to X11 window 0x%08x\n", rnd, window);
|
||||||
|
|
||||||
void *reply = scalloc(32);
|
void *reply = scalloc(32);
|
||||||
xcb_client_message_event_t *ev = reply;
|
xcb_client_message_event_t *ev = reply;
|
||||||
|
|
Loading…
Reference in New Issue