mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-30 14:20:21 +00:00
LibLine: Properly handle window resize by not spamming DSRs
We have all the information necessary to find our new origin when a window size change occurs.
This commit is contained in:
parent
173c65660a
commit
f946d6ce79
Notes:
sideshowbarker
2024-07-19 07:43:08 +09:00
Author: https://github.com/alimpfard
Commit: f946d6ce79
Pull-request: https://github.com/SerenityOS/serenity/pull/1741
2 changed files with 18 additions and 1 deletions
|
@ -168,6 +168,7 @@ private:
|
|||
m_origin_x = position[0];
|
||||
m_origin_y = position[1];
|
||||
}
|
||||
void recalculate_origin();
|
||||
void reposition_cursor();
|
||||
|
||||
Vector<char, 1024> m_buffer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue