Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement basic ICCCM #19

Open
sidorares opened this issue Jan 14, 2016 · 1 comment
Open

implement basic ICCCM #19

sidorares opened this issue Jan 14, 2016 · 1 comment

Comments

@sidorares
Copy link
Owner

potentially as a separate library or as part of https://github.com/santigimeno/node-ewmh

http://www.x.org/docs/ICCCM/icccm.pdf
https://tronche.com/gui/x/icccm/

At least handle window deletion protocol properly - https://tronche.com/gui/x/icccm/sec-4.html#s-4.2.8.1

@sidorares
Copy link
Owner Author

api:

// arguments properties when window is created
// can have properties from WM_HINTS, WM_NORMAL_HINTS, WM_PROTOCOLS, WM_TRANSIENT_FOR

app.root().createWindow({
   width: 100,
   height: 100,

   icon: myIcon, // integer or Pixmap -> WM_HINTS. icon_pixmap
   transientFor: mainWnd, // integer or Window
   maxWidth: 800   
});

//or call to setHints() to modify later
wnd.setHints({ transientFor: otherWnd, maxWidth: 900 });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant