Mon 21 Jul 22:43:21 CEST 2025

This commit is contained in:
sbosse 2025-07-21 23:04:22 +02:00
parent 17cd2e063c
commit ecefb0c424

View File

@ -0,0 +1,12 @@
var x11 = require('../../lib');
var wid = process.argv[2];
console.log(wid);
var wids = [];
x11.createClient(function(err, display) {
var X = display.client;
var root = display.screen[0].root;
X.QueryTree(wid ? wid : root, function(err, tree) {
console.log(tree);
X.terminate();
});
});