Add XSetWMNormalHints, XGetWMNormalHints, XSetWMSizeHints, and XGetWMSizeHints
RossComputerGuy opened this issue · 5 comments
RossComputerGuy commented
Here's a list of useful functions that should be added:
sidorares commented
I think it's outside of the scope of this library, goal of node-x11 is to implement core protocol + extensions. emwh-like logic should should go to some library using node-x11
RossComputerGuy commented
Well, I think they are a part of the core protocol. Lots of programs use these commands, I've checked with xprop
.
sidorares commented
No, they are part of xlib but not core protocol. Basically just simple wrappers on top of ChangeProperty request
https://github.com/mirror/libX11/blob/b676e62377483df77bcb6472d26b24f901323fa9/src/SetNrmHint.c#L114
RossComputerGuy commented
I think I'll create a package called node-xlib so we can have xlib functions.
RossComputerGuy commented
Closed since node-xlib does this now.