diff --git a/winit-orbital/src/lib.rs b/winit-orbital/src/lib.rs index c5132686..9b8d56d5 100644 --- a/winit-orbital/src/lib.rs +++ b/winit-orbital/src/lib.rs @@ -23,7 +23,7 @@ struct RedoxSocket { impl RedoxSocket { fn event() -> syscall::Result { - Self::open_raw("event:") + Self::open_raw("/scheme/event") } fn orbital(properties: &WindowProperties<'_>) -> syscall::Result { @@ -74,7 +74,7 @@ struct TimeSocket(RedoxSocket); impl TimeSocket { fn open() -> syscall::Result { - RedoxSocket::open_raw("time:4").map(Self) + RedoxSocket::open_raw("/scheme/time/4").map(Self) } // Read current time. @@ -123,7 +123,7 @@ impl fmt::Display for WindowProperties<'_> { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { write!( f, - "orbital:{}/{}/{}/{}/{}/{}", + "/scheme/orbital/{}/{}/{}/{}/{}/{}", self.flags, self.x, self.y, self.w, self.h, self.title ) }