mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-05 21:19:08 +02:00
Refactor UI --------- Co-authored-by: Eduard Gert <kontakt@eduardgert.de> Co-authored-by: braginini <bangvalo@gmail.com> Co-authored-by: Pascal Fischer <32096965+pascal-fischer@users.noreply.github.com> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: riccardom <riccardomanfrin@gmail.com>
11 lines
351 B
Go
11 lines
351 B
Go
//go:build (!linux || (linux && 386)) && !freebsd && !android && !ios && !js
|
|
|
|
package main
|
|
|
|
// recenterOnShowPredicate returns nil off Linux: macOS and Windows WMs restore
|
|
// window position across hide -> show themselves, so Go-side re-centering would
|
|
// only fight a window the user moved.
|
|
func recenterOnShowPredicate() func() bool {
|
|
return nil
|
|
}
|