Enables or disables a window so that input events are ignored.
saves the value, for use with is-enabled?