This commit is contained in:
2026-07-16 12:32:51 +01:00
parent e52d682797
commit a810fa82fb
2 changed files with 4 additions and 105 deletions
+4 -2
View File
@@ -10,7 +10,8 @@ import WM.XKutu
data State = State
{ mruby_pointer :: !(Ptr MrbState),
running :: !Bool
running :: !Bool,
root :: !(Maybe Tile)
}
deriving (Show)
@@ -18,7 +19,8 @@ newState :: Ptr MrbState -> State
newState ptr =
State
{ mruby_pointer = ptr,
running = True
running = True,
root = Nothing
}
run :: IO ()