mirror of
https://github.com/danbulant/node-x11
synced 2026-05-27 14:01:52 +00:00
Merge pull request #67 from santigimeno/fix_kill
Really fix KillClient / KillKlient
This commit is contained in:
commit
c1e788b159
1 changed files with 4 additions and 4 deletions
|
|
@ -113,7 +113,7 @@ the way requests are described here
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
module.exports = {
|
var templates = {
|
||||||
CreateWindow: [
|
CreateWindow: [
|
||||||
// create request packet - function OR format string
|
// create request packet - function OR format string
|
||||||
function(id, parentId, x, y, width, height, borderWidth, depth, _class, visual, values) {
|
function(id, parentId, x, y, width, height, borderWidth, depth, _class, visual, values) {
|
||||||
|
|
@ -913,8 +913,6 @@ module.exports = {
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
||||||
KillKlient: KillClient,
|
|
||||||
|
|
||||||
SetScreenSaver: [
|
SetScreenSaver: [
|
||||||
function(timeout, interval, preferBlanking, allowExposures) {
|
function(timeout, interval, preferBlanking, allowExposures) {
|
||||||
return [ 'CxSssCCxx', [107, 3, timeout, interval, preferBlanking, allowExposures]];
|
return [ 'CxSssCCxx', [107, 3, timeout, interval, preferBlanking, allowExposures]];
|
||||||
|
|
@ -926,6 +924,8 @@ module.exports = {
|
||||||
return [ 'CCS', [115, activate?1:0, 1] ];
|
return [ 'CCS', [115, activate?1:0, 1] ];
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
};
|
||||||
|
|
||||||
|
templates.KillKlient = templates.KillClient;
|
||||||
|
|
||||||
}
|
module.exports = templates;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue