Skip to content

Do not treat Alt-Tab as resolution change

Andrei Kortunov requested to merge akortunov/openmw:alt_tab_fix into master

Fixes #7866.

Summary of changes:

  1. Ignore SDL_WINDOWEVENT_SIZE_CHANGED event when OpenMW window is not active (its size is 0x0). Allows to fix validation spam after an every window minimizing.
  2. Do not fire windowResized WindowManager's event if window size did not change (happens when you restore the window). Allows to do not reset console when OpenMW window becomes active again.

Merge request reports