Convert from Xlib xcb

This will make it easier to convert this project to Go/xgb later,
even though the SYNC extension isn't currently supported there.

So far unresolved: error handling.
This commit is contained in:
2020-09-23 16:58:30 +02:00
parent 93c61425b3
commit 6e3f3c950d
7 changed files with 913 additions and 149 deletions

View File

@@ -19,14 +19,13 @@ dependencies = [
dependency('gio-unix-2.0'),
dependency('gee-0.8'),
dependency('sqlite3'),
dependency('x11'),
dependency('xext'),
dependency('xextproto'),
dependency('xcb'),
dependency('xcb-sync'),
]
gui = static_library('gui', 'gui.vala', 'config.vapi',
install : false,
dependencies : dependencies)
executable('wdmtg', 'wdmtg.c',
executable('wdmtg', 'wdmtg.c', 'compound-text.c',
install : true,
link_with : [gui],
dependencies : [dependencies])