From e53a9746686005230aa625dd977cfbae169bf2ff Mon Sep 17 00:00:00 2001 From: Andrey Sidorov Date: Wed, 11 Apr 2012 16:49:37 +1000 Subject: [PATCH] constants added --- lib/x11/index.js | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/lib/x11/index.js b/lib/x11/index.js index ef228b3..6910bff 100644 --- a/lib/x11/index.js +++ b/lib/x11/index.js @@ -4,4 +4,28 @@ var keysyms = require('./keysyms'); module.exports.createClient = core.createClient; module.exports.eventMask = em; -module.exports.keySyms = keysyms; \ No newline at end of file +module.exports.keySyms = keysyms; + + +//TODO: +// keepe everything in namespace for consistensy (eventMask, keySyms, class, destination ... +// or put most used constants to top namespace? (currently class and destination in top) + +// basic constants + +// class +module.exports.CopyFromParent = 0; +module.exports.InputOutput = 1; +module.exports.InputOnly = 2; + +// destination +module.exports.PointerWindow = 0; +module.exports.InputFocus = 1; + + +// TODO +module.exports.bitGravity = { +}; + +module.exports.winGravity = { +};