diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-09-30 10:24:53 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-09-30 10:24:53 -0700 |
commit | b614f2bc5d9fc421565824b1ceb9a3384f26f35f (patch) | |
tree | 243c47baa4c6ce4273a5743d79f3c0dbc78789e5 /src/library_xlib.js | |
parent | c70758e3b49beb016a3d9db7b609c499d55de48b (diff) | |
parent | 7eaa78060c34489c7e56193c725641303d520f31 (diff) |
Merge branch 'incoming'
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; }, |