From cce3d7694b335d1dae105c11408eef62694a9cc2 Mon Sep 17 00:00:00 2001 From: Bryan Roe Date: Mon, 11 Feb 2019 17:19:17 -0800 Subject: [PATCH] Added more methods --- modules/monitor-info.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/monitor-info.js b/modules/monitor-info.js index 01929c2..d94e0c2 100644 --- a/modules/monitor-info.js +++ b/modules/monitor-info.js @@ -193,6 +193,8 @@ function monitorinfo() this._X11 = this._gm.CreateNativeProxy(this.Location_X11LIB); this._X11.CreateMethod('XChangeProperty'); this._X11.CreateMethod('XCloseDisplay'); + this._X11.CreateMethod('XConnectionNumber'); + this._X11.CreateMethod('XConvertSelection'); this._X11.CreateMethod('XCreateGC'); this._X11.CreateMethod('XCreateWindow'); this._X11.CreateMethod('XCreateSimpleWindow'); @@ -209,8 +211,11 @@ function monitorinfo() this._X11.CreateMethod('XInternAtom'); this._X11.CreateMethod('XMapWindow'); this._X11.CreateMethod({ method: 'XNextEvent', threadDispatch: true }); + this._X11.CreateMethod({ method: 'XNextEvent', newName: 'XNextEventSync' }); this._X11.CreateMethod('XOpenDisplay'); + this._X11.CreateMethod('XPending'); this._X11.CreateMethod('XRootWindow'); + this._X11.CreateMethod('XSelectInput'); this._X11.CreateMethod('XScreenCount'); this._X11.CreateMethod('XScreenOfDisplay'); this._X11.CreateMethod('XSelectInput'); @@ -220,7 +225,7 @@ function monitorinfo() this._X11.CreateMethod('XSetLineAttributes'); this._X11.CreateMethod('XSetNormalHints'); this._X11.CreateMethod('XSetSubwindowMode'); - + this._X11.CreateMethod('XSync'); this._X11.CreateMethod('XBlackPixel'); this._X11.CreateMethod('XWhitePixel'); }