mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 01:57:44 +00:00
WindowServer: Implement tile window overlay
This adds a tiling mode that will show a tile window overlay rather than immediately tiling a window, triggering window resizes.
This commit is contained in:
parent
035b0f9df6
commit
fe54a0ca27
15 changed files with 279 additions and 71 deletions
|
@ -980,9 +980,9 @@ Messages::WindowServer::SetSystemFontsResponse ConnectionFromClient::set_system_
|
|||
return !g_config->sync().is_error();
|
||||
}
|
||||
|
||||
void ConnectionFromClient::set_system_effects(Vector<bool> const& effects, u8 geometry)
|
||||
void ConnectionFromClient::set_system_effects(Vector<bool> const& effects, u8 geometry, u8 tile_window)
|
||||
{
|
||||
WindowManager::the().apply_system_effects(effects, static_cast<ShowGeometry>(geometry));
|
||||
WindowManager::the().apply_system_effects(effects, static_cast<ShowGeometry>(geometry), static_cast<TileWindow>(tile_window));
|
||||
ConnectionFromClient::for_each_client([&](auto& client) {
|
||||
client.async_update_system_effects(effects);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue