diff options
Diffstat (limited to 'src/library_xlib.js')
-rw-r--r-- | src/library_xlib.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/library_xlib.js b/src/library_xlib.js index a110c786..7e420400 100644 --- a/src/library_xlib.js +++ b/src/library_xlib.js @@ -6,8 +6,7 @@ var LibraryXlib = { XCreateWindow: function(display, parent, x, y, width, height, border_width, depth, class_, visual, valuemask, attributes) { // All we can do is set the width and height - Module['canvas'].width = width; - Module['canvas'].height = height; + Browser.setCanvasSize(width, height); return 2; }, |