summaryrefslogtreecommitdiff
path: root/Services/WindowServer/WindowManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Services/WindowServer/WindowManager.cpp')
-rw-r--r--Services/WindowServer/WindowManager.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/Services/WindowServer/WindowManager.cpp b/Services/WindowServer/WindowManager.cpp
index 977f892d7d..5d900fd930 100644
--- a/Services/WindowServer/WindowManager.cpp
+++ b/Services/WindowServer/WindowManager.cpp
@@ -253,7 +253,7 @@ void WindowManager::tell_wm_listener_about_window(Window& listener, Window& wind
return;
if (window.is_internal())
return;
- listener.client()->post_message(Messages::WindowClient::WM_WindowStateChanged(listener.window_id(), window.client_id(), window.window_id(), window.is_active(), window.is_minimized(), window.is_frameless(), (i32)window.type(), window.title(), window.rect()));
+ listener.client()->post_message(Messages::WindowClient::WM_WindowStateChanged(listener.window_id(), window.client_id(), window.window_id(), window.is_active(), window.is_minimized(), window.is_frameless(), (i32)window.type(), window.title(), window.rect(), window.progress()));
}
void WindowManager::tell_wm_listener_about_window_rect(Window& listener, Window& window)
@@ -359,6 +359,11 @@ void WindowManager::notify_occlusion_state_changed(Window& window)
window.client()->post_message(Messages::WindowClient::WindowStateChanged(window.window_id(), window.is_minimized(), window.is_occluded()));
}
+void WindowManager::notify_progress_changed(Window& window)
+{
+ tell_wm_listeners_window_state_changed(window);
+}
+
void WindowManager::pick_new_active_window()
{
bool new_window_picked = false;