bar: wip: define a 'backend' interface

Implement the current XCB backend in terms of this new interface.
This commit is contained in:
Daniel Eklöf 2019-01-29 20:59:25 +01:00
parent f37dfbc727
commit 88daaf0ab7
6 changed files with 503 additions and 403 deletions

7
bar/xcb.h Normal file
View file

@ -0,0 +1,7 @@
#pragma once
#include "backend.h"
extern const struct backend xcb_backend_iface;
void *bar_backend_xcb_new(void);