2016-11-26 14:42:48 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "config.hpp"
|
|
|
|
|
2016-11-30 11:46:26 +00:00
|
|
|
#if not WITH_XSYNC
|
2016-11-26 14:42:48 +00:00
|
|
|
#error "X Sync extension is disabled..."
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <xcb/sync.h>
|
|
|
|
#include <xpp/proto/sync.hpp>
|
2016-12-21 13:55:19 +00:00
|
|
|
|
|
|
|
#include "common.hpp"
|
|
|
|
|
|
|
|
POLYBAR_NS
|
|
|
|
|
|
|
|
// fwd
|
|
|
|
class connection;
|
|
|
|
|
|
|
|
namespace sync_util {
|
|
|
|
void query_extension(connection& conn);
|
|
|
|
}
|
|
|
|
|
|
|
|
POLYBAR_NS_END
|