move i3 sync code into sync_respond (for following commits)

This commit is contained in:
Michael Stapelberg
2018-03-30 21:05:32 +02:00
parent 4e0bf58109
commit 725ee3ce62
5 changed files with 45 additions and 15 deletions

14
include/sync.h Normal file
View File

@ -0,0 +1,14 @@
/*
* vim:ts=4:sw=4:expandtab
*
* i3 - an improved dynamic tiling window manager
* © 2009 Michael Stapelberg and contributors (see also: LICENSE)
*
* sync.c: i3 sync protocol: https://i3wm.org/docs/testsuite.html#i3_sync
*
*/
#pragma once
#include <xcb/xcb.h>
void sync_respond(xcb_window_t window, uint32_t rnd);