Add support for session restore on the linux portals backend, fixing #77

This commit is contained in:
godalming 2025-03-15 12:05:29 +00:00
parent 7a806f7b00
commit 05259f6db5
8 changed files with 70 additions and 13 deletions

View file

@ -95,7 +95,7 @@ func init() {
RegisterController("Windows", InitWindowsController, 0)
}
func InitWindowsController() (Controller, error) {
func InitWindowsController(saveRestoreToken bool) (Controller, error) {
p := &windowsController{}
if err := sendInputProc.Find(); err != nil {
return nil, &UnsupportedPlatformError{err}