mirror of
https://github.com/danbulant/node-x11
synced 2026-05-19 12:28:58 +00:00
33 lines
790 B
JavaScript
33 lines
790 B
JavaScript
var core = require('./xcore');
|
|
var em = require('./eventmask').eventMask;
|
|
var keysyms = require('./keysyms');
|
|
var server = require('./xserver');
|
|
|
|
module.exports.createClient = core.createClient;
|
|
module.exports.createServer = server.createServer;
|
|
module.exports.eventMask = em;
|
|
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 = {
|
|
};
|