liamg / darktile

:waning_crescent_moon: Darktile is a GPU rendered terminal emulator designed for tiling window managers.
MIT License
3.04k stars 112 forks source link

Do not trigger window resizing work if no change in dimensions #164

Closed maxhora closed 5 years ago

maxhora commented 5 years ago

Description

Extra triggering of window resizing on restoring from iconified state causes content rendering glitches described in #145 gui.appliedWidth and gui.appliedHeight introduced to keep last applied window width/height and avoid unnecessary resize of terminal content. dpiScale is removed from calculation of actual window sizes and used once on initial calculation. Changelist doesn't fix resize logic to avoid producing rendering glitches.

Fixes #145

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Test Configuration: