diff --git a/CMakeLists.txt b/CMakeLists.txt index a8857e3..7142ffe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,7 +40,7 @@ configure_file (${PROJECT_SOURCE_DIR}/config.vala.in "${config_path}") # seems to be so that symbols are exported for GModule to see set (symbols_path "${PROJECT_BINARY_DIR}/${PROJECT_NAME}.def") -set (project_VALA_SOURCES ${config_path} ${PROJECT_NAME}.vala xsync.vapi) +set (project_VALA_SOURCES ${config_path} ${PROJECT_NAME}.vala xext.vapi) vala_precompile (${project_VALA_SOURCES} OUTPUTS project_VALA_C HEADER ${PROJECT_NAME}.h diff --git a/wdmtg.vala b/wdmtg.vala index 829d244..7158f58 100644 --- a/wdmtg.vala +++ b/wdmtg.vala @@ -16,7 +16,7 @@ // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. // // vim: set sw=2 ts=2 sts=2 et tw=80: -// modules: x11 xsync config +// modules: x11 xext config // vapidirs: . ../build build namespace Wdmtg { diff --git a/xsync.vapi b/xext.vapi similarity index 98% rename from xsync.vapi rename to xext.vapi index 9e77b16..f78de6a 100644 --- a/xsync.vapi +++ b/xext.vapi @@ -1,5 +1,5 @@ // -// xsync.vapi: selected XSync APIs +// xext.vapi: various extensions to the x11 vapi // // Copyright (c) 2016, Přemysl Janouch // @@ -18,7 +18,6 @@ // vim: set sw=2 ts=2 sts=2 et tw=80: // modules: x11 -// TODO: move this outside, I didn't expect the Xlib binding to be this shitty namespace X { [CCode (cname = "XErrorHandler", has_target = false)] public delegate int ErrorHandler (Display dpy, ErrorEvent *ee);