mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 03:18:37 +08:00
Merge pull request #88643 from YeldhamDev/too_bad
Revert "Fix `NOTIFICATION_WM_SIZE_CHANGED` firing if the size hasn't changed"
This commit is contained in:
commit
5ce436f624
@ -1193,10 +1193,7 @@ void Window::_update_viewport_size() {
|
||||
}
|
||||
}
|
||||
|
||||
if (old_size != size) {
|
||||
old_size = size;
|
||||
notification(NOTIFICATION_WM_SIZE_CHANGED);
|
||||
}
|
||||
notification(NOTIFICATION_WM_SIZE_CHANGED);
|
||||
|
||||
if (embedder) {
|
||||
embedder->_sub_window_update(this);
|
||||
|
@ -116,7 +116,6 @@ private:
|
||||
mutable Size2i size = Size2i(DEFAULT_WINDOW_SIZE, DEFAULT_WINDOW_SIZE);
|
||||
mutable Size2i min_size;
|
||||
mutable Size2i max_size;
|
||||
mutable Size2i old_size = size;
|
||||
mutable Vector<Vector2> mpath;
|
||||
mutable Mode mode = MODE_WINDOWED;
|
||||
mutable bool flags[FLAG_MAX] = {};
|
||||
|
Loading…
Reference in New Issue
Block a user