1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-15 15:53:55 +00:00

Added ability to register for ClientMessage events

This commit is contained in:
Bryan Roe
2019-10-06 19:22:11 -07:00
parent 5f169ab624
commit d49b781ee4
2 changed files with 9 additions and 6 deletions

View File

@@ -27,7 +27,8 @@ var SubstructureNotifyMask = (1 << 19);
var PropModeReplace = 0;
var XA_ATOM = 4;
var MWM_HINTS_FUNCTIONS = (1 << 0);
var MWM_HINTS_DECORATIONS = (1 << 1);
var MWM_HINTS_DECORATIONS = (1 << 1);
var ClientMessage = 33;
function getLibInfo(libname)
{
@@ -298,6 +299,7 @@ function monitorinfo()
this._X11.CreateMethod('XSetNormalHints');
this._X11.CreateMethod('XSetSelectionOwner');
this._X11.CreateMethod('XSetSubwindowMode');
this._X11.CreateMethod('XSetWMProtocols');
this._X11.CreateMethod('XStoreName');
this._X11.CreateMethod('XSync');
this._X11.CreateMethod('XBlackPixel');