Originally Posted by maroon
If that's not the answer to your question, then can you restate your question more clearly?
You wanted to be able to set the existing window's size to something smaller, so the size is changed the same way you created the size in the first place.
You can change the width by using $calc to subtract something from the existing width, and same for changing the existing height.
As for whether you want to move the left/top of the smaller window somewhere else, that is up to you. In some cases you might want to move the left edge (x) of the window by half the amount you are changing the width, and move the top edge (y) of the window by half the change for the height

i dont know how i do it friend maroon