Should be named window_ptr?