mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-05 06:31:54 -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))
|
= s { current = Screen x (screen (current s))
|
||||||
, hidden = workspace (current s) : L.delete x (hidden 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
|
-- 'Catch'ing this might be hard. Relies on monotonically increasing
|
||||||
-- workspace tags defined in 'new'
|
-- workspace tags defined in 'new'
|
||||||
|
Reference in New Issue
Block a user