Encrypt restore token

This commit is contained in:
Unrud 2025-03-18 09:18:15 +01:00
parent abd9fd4773
commit 16dc47b570
11 changed files with 137 additions and 49 deletions

View file

@ -59,7 +59,7 @@ func init() {
RegisterController("X11", InitX11Controller, 0)
}
func InitX11Controller(saveRestoreToken bool) (Controller, error) {
func InitX11Controller() (Controller, error) {
display := C.XOpenDisplay(nil)
if display == nil {
return nil, &UnsupportedPlatformError{