summaryrefslogtreecommitdiff
path: root/Userland/Services/WindowServer/WindowServer.ipc
diff options
context:
space:
mode:
authorTom <tomut@yahoo.com>2021-06-30 19:12:02 -0600
committerAndreas Kling <kling@serenityos.org>2021-07-03 12:27:23 +0200
commit7984c2836d7a7e472aca383225deed5d50601e06 (patch)
tree477073e39dc6351baa6f404651beecbbf6e30adb /Userland/Services/WindowServer/WindowServer.ipc
parent584b144953ba0f715c02b54444a61674a4c99e8a (diff)
downloadserenity-7984c2836d7a7e472aca383225deed5d50601e06.zip
WindowServer: Add API to change virtual desktop settings
This also adds the ability to query how many virtual desktops are set up, and for the Taskbar to be notified when the active virtual desktop has changed.
Diffstat (limited to 'Userland/Services/WindowServer/WindowServer.ipc')
-rw-r--r--Userland/Services/WindowServer/WindowServer.ipc3
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Services/WindowServer/WindowServer.ipc b/Userland/Services/WindowServer/WindowServer.ipc
index d3d81b6ef9..0653607472 100644
--- a/Userland/Services/WindowServer/WindowServer.ipc
+++ b/Userland/Services/WindowServer/WindowServer.ipc
@@ -102,6 +102,9 @@ endpoint WindowServer
save_screen_layout() => (bool success, String error_msg)
show_screen_numbers(bool show) =|
+ apply_virtual_desktop_settings(u32 rows, u32 columns, bool save) => (bool success)
+ get_virtual_desktop_settings() => (u32 rows, u32 columns, u32 max_rows, u32 max_columns)
+
set_window_icon_bitmap(i32 window_id, Gfx::ShareableBitmap icon) =|
get_wallpaper() => (String path)