mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-26 09:41:52 -07:00
allow function keys up to F24
This commit is contained in:
@@ -180,7 +180,7 @@ removeMouseBindings conf mouseBindingList =
|
|||||||
-- > <Insert>
|
-- > <Insert>
|
||||||
-- > <Break>
|
-- > <Break>
|
||||||
-- > <Space>
|
-- > <Space>
|
||||||
-- > <F1>-<F12>
|
-- > <F1>-<F24>
|
||||||
-- > <KP_Space>
|
-- > <KP_Space>
|
||||||
-- > <KP_Tab>
|
-- > <KP_Tab>
|
||||||
-- > <KP_Enter>
|
-- > <KP_Enter>
|
||||||
@@ -302,7 +302,7 @@ keyNames = functionKeys ++ specialKeys
|
|||||||
-- the associated KeySyms.
|
-- the associated KeySyms.
|
||||||
functionKeys :: [(String, KeySym)]
|
functionKeys :: [(String, KeySym)]
|
||||||
functionKeys = [ ("F" ++ show n, k)
|
functionKeys = [ ("F" ++ show n, k)
|
||||||
| (n,k) <- zip ([1..12] :: [Int]) [xK_F1..] ]
|
| (n,k) <- zip ([1..24] :: [Int]) [xK_F1..] ]
|
||||||
|
|
||||||
-- | A list of special key names and their corresponding KeySyms.
|
-- | A list of special key names and their corresponding KeySyms.
|
||||||
specialKeys :: [(String, KeySym)]
|
specialKeys :: [(String, KeySym)]
|
||||||
|
Reference in New Issue
Block a user