Set Window's Minimum size when using P2D

According to your original post: :roll_eyes:

You’ve seemed interested in setting minimum size only, not programmatically resizing the window directly! :dizzy_face:

If it is just the latter now, the class PSurface already got a setSize() method: :sunglasses:
getSurface().setSize(width>>1, height>>1);