tauri-plugin-snap-layout 1.0.9

Enables native Windows 11 Snap Layouts for Tauri v2 frameless windows by injecting a transparent Win32 hit-test overlay.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"$schema" = "schemas/schema.json"
plugin_name = "snap-layout"

[default]
description = "Default permissions for the snap-layout plugin"
permissions = ["allow-update-snap-bounds", "allow-detach-snap-bounds"]

[[permission]]
identifier = "allow-update-snap-bounds"
description = "Allows the frontend to update window snapping hitboxes"
commands.allow = ["update_snap_bounds"]

[[permission]]
identifier = "allow-detach-snap-bounds"
description = "Allows the frontend to detach window snapping hitboxes"
commands.allow = ["detach_snap_bounds"]