oneye/oneye — pull request #1 by s0600204 (2012-08-13 15:27:27+00:00)
Title: Save Size implementation

As suggested in http://forums.oneye-project.org/viewtopic.php?id=203 , the following has been done:

- A *saveSize* option has been added to the Window widget.
- This new option uses three constants: NO_SAVE, ABSOLUTE and RELATIVE, the values of which are 0, 1 and 2 respectively, chosen to permit backwards compatibility.
- The *savePosition* option of the Window widget has been modified to use these same constants
- The size of window widgets is now being stored alongside the position of window widgets, format dictated by the value of the chosen constant.
- The application *editLink* has been modified to permit users to modify links to apps so as to be able to set a particular window state when that link is used.
- *proc('launch')* has been modified to permit chosen window state to be sent to the window widget.

Also included (because it seemed convenient):
- Detection of multiple instances of the same application and offsetting x and y values so the second instance is not drawn _entirely_ covering the first. (And the third instance does not _entirely_ cover the second, and so on.)