diff options
Diffstat (limited to 'Services/WindowServer/Window.cpp')
-rw-r--r-- | Services/WindowServer/Window.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Services/WindowServer/Window.cpp b/Services/WindowServer/Window.cpp index 874f518ef5..e816935da8 100644 --- a/Services/WindowServer/Window.cpp +++ b/Services/WindowServer/Window.cpp @@ -537,4 +537,13 @@ void Window::set_parent_window(Window& parent_window) parent_window.add_child_window(*this); } +void Window::set_progress(int progress) +{ + if (m_progress == progress) + return; + + m_progress = progress; + WindowManager::the().notify_progress_changed(*this); +} + } |