mirror of
https://github.com/xmonad/xmonad.git
synced 2025-07-31 20:21:52 -07:00
Make 'view' a total function
This commit is contained in:
@@ -214,7 +214,7 @@ view i s
|
||||
= s { current = Screen x (screen (current s))
|
||||
, hidden = workspace (current s) : L.delete x (hidden s) }
|
||||
|
||||
| otherwise = abort "Inconsistent StackSet: workspace not found"
|
||||
| otherwise = s
|
||||
|
||||
-- 'Catch'ing this might be hard. Relies on monotonically increasing
|
||||
-- workspace tags defined in 'new'
|
||||
|
Reference in New Issue
Block a user