diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-02-20 21:59:13 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-02-20 22:08:14 +0100 |
commit | fa02d2a39b9dc403156f2c61987f0b5c7698fc71 (patch) | |
tree | bf658ffdc3d4d5b60d5b33fc0848622ff1c9ca00 /Applications/Terminal/Terminal.cpp | |
parent | e0b81ee4c9630ab343b72e4d946f620473b56b7b (diff) | |
download | serenity-fa02d2a39b9dc403156f2c61987f0b5c7698fc71.zip |
Rework the rendering model so that clients instantiate backing stores.
This makes interactive resizing work a lot better, althought it's still not
perfect. There are still glitches and unpleasant flashes of zeroed memory.
Diffstat (limited to 'Applications/Terminal/Terminal.cpp')
-rw-r--r-- | Applications/Terminal/Terminal.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Applications/Terminal/Terminal.cpp b/Applications/Terminal/Terminal.cpp index e9f63cf551..52130340a1 100644 --- a/Applications/Terminal/Terminal.cpp +++ b/Applications/Terminal/Terminal.cpp @@ -760,3 +760,9 @@ void Terminal::force_repaint() m_need_full_flush = true; update(); } + +void Terminal::resize_event(GResizeEvent&) +{ + m_needs_background_fill = true; + force_repaint(); +} |