Make window.number writable.
commit75c4bc89c7fee85cbc657921002f19857b78fbc8
authorRui Guo <firemeteor.guo@gmail.com>
Wed, 17 Jun 2009 14:51:59 +0000 (17 22:51 +0800)
committerRui Guo <firemeteor.guo@gmail.com>
Wed, 17 Jun 2009 14:51:59 +0000 (17 22:51 +0800)
treefb7e8a72720da9e40cd3c686ad45eeec9dc53991
parentd791f16922517d42d668298fb437a4026f6c48b7
Make window.number writable.

1. Abstract the RC_NUMBER logic to a ChangeWinNum function.
2. Implement setter to window.number using ChangeWinNum
3. Add a demo script to test it.
4. Update the document accordingly.

5. Also fix the title setter.
src/drafts/scripting
src/lua.c
src/process.c
src/scripts/movewindow.lua [new file with mode: 0644]