mirror of
https://github.com/danbulant/node-x11
synced 2026-05-21 05:19:14 +00:00
initial ConfigureWindow implementation
This commit is contained in:
parent
3732cc4e20
commit
1123cfd466
1 changed files with 17 additions and 0 deletions
|
|
@ -43,6 +43,14 @@ var valueMask = {
|
|||
dashOffset : 0x00100000,
|
||||
dashes : 0x00200000,
|
||||
arcMode : 0x00400000
|
||||
},
|
||||
ConfigureWindow: {
|
||||
x: 0x000001,
|
||||
y: 0x000002,
|
||||
width: 0x000004,
|
||||
height: 0x000008,
|
||||
borderWidth: 0x000010,
|
||||
stackMode: 0x000020
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -169,6 +177,15 @@ module.exports = {
|
|||
[ 'CxSL', [10, 2] ]
|
||||
],
|
||||
|
||||
|
||||
// TODO: remove? this is actually a ConfigureWindow request
|
||||
// with width and height argiments & arguments mask
|
||||
ResiseWindow: [
|
||||
function(win, width, height) {
|
||||
return ['CxSLSxxSxxSxx', [12, 5, win, 12, width, height]];
|
||||
}
|
||||
],
|
||||
|
||||
// opcode 16
|
||||
InternAtom: [
|
||||
function (returnOnlyIfExist, value)
|
||||
|
|
|
|||
Loading…
Reference in a new issue