diff options
Diffstat (limited to 'src/main.hs')
-rw-r--r-- | src/main.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.hs b/src/main.hs index 2c500c7..41c6eec 100644 --- a/src/main.hs +++ b/src/main.hs @@ -68,7 +68,7 @@ getWorkspaces display screenGeometry focusWindows = do return Workspace { workspace_geometry = screenGeometry , workspace_focused = currentDesktop == index - , workspace_name = name + , workspace_name = Text.pack name , workspace_windows = [] } return $ Map.fromList $ zip [0..] ws @@ -90,7 +90,7 @@ getWorkspaces display screenGeometry focusWindows = do window = Window { window_id = fromIntegral w - , window_title = fromMaybe "" title + , window_title = Text.pack $ fromMaybe "" title , window_geometry = geometry , window_focused = Set.member w focusWindows , window_urgent = urgent |