mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +00:00
Make it possible to invalidate only a portion of a window.
Use this in Terminal to only invalidate rows where anything changed.
This commit is contained in:
@@ -9,9 +9,9 @@ int gui_create_window(const GUI_CreateWindowParameters* params)
|
||||
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||
}
|
||||
|
||||
int gui_invalidate_window(int window_id)
|
||||
int gui_invalidate_window(int window_id, const GUI_Rect* rect)
|
||||
{
|
||||
int rc = syscall(SC_gui_invalidate_window, window_id);
|
||||
int rc = syscall(SC_gui_invalidate_window, window_id, rect);
|
||||
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user