From 1278597736af6826e5554ab030c6290b4d076acf Mon Sep 17 00:00:00 2001 From: Andrey Sidorov Date: Thu, 23 Jun 2011 06:18:01 -0700 Subject: [PATCH] Edited README.md via GitHub --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8060df5..9804579 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ var x = require('x11'); var s = x.createConnection().defaultScreen(); - var wnd = s.createWindow(10, 10, 100, 100); // RootWindow as parent by default - wnd.selectInput(x.ExposureMask | x.KeyPressMask); // optional, all input by default + var wnd = s.createWindow(10, 10, 100, 100); + // adding event callback also selects event on server wnd .on('expose', function(exposeevent) {