summaryrefslogtreecommitdiff
path: root/Servers/WindowServer/WindowManager.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-17 20:05:14 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-17 20:08:00 +0100
commit84520d8b59c2ab38d191637a764d0981bc54f53e (patch)
treee28525aa82b744f3e24571a52cdd4955039e1494 /Servers/WindowServer/WindowManager.h
parent189fa68c0b3deacd5e3655922328ef4743afb937 (diff)
downloadserenity-84520d8b59c2ab38d191637a764d0981bc54f53e.zip
WindowServer: Make way for the out-of-process system menu
This patch removes the internal system menu from WindowServer and replaces it with two IPC API's: SetSystemMenu(menu_id) SetSystemTheme(theme_path, theme_name) These API's will allow us to complete the SystemMenu program and move it entirely out of process.
Diffstat (limited to 'Servers/WindowServer/WindowManager.h')
-rw-r--r--Servers/WindowServer/WindowManager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Servers/WindowServer/WindowManager.h b/Servers/WindowServer/WindowManager.h
index a09fdd0941..4d198bf0a8 100644
--- a/Servers/WindowServer/WindowManager.h
+++ b/Servers/WindowServer/WindowManager.h
@@ -166,7 +166,7 @@ public:
const Window* active_fullscreen_window() const { return (m_active_window && m_active_window->is_fullscreen()) ? m_active_window : nullptr; }
Window* active_fullscreen_window() { return (m_active_window && m_active_window->is_fullscreen()) ? m_active_window : nullptr; }
- void update_theme(String theme_path, String theme_name);
+ bool update_theme(String theme_path, String theme_name);
void set_hovered_window(Window*);
void deliver_mouse_event(Window& window, MouseEvent& event);