about summary refs log tree commit diff
path: root/Completion/X/_xwit
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/X/_xwit')
-rw-r--r--Completion/X/_xwit4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/X/_xwit b/Completion/X/_xwit
index b017ca3c9..4a5242e18 100644
--- a/Completion/X/_xwit
+++ b/Completion/X/_xwit
@@ -39,8 +39,8 @@ _regex_arguments _xwit_parse \
     \| "/iconmove$nul/" "$guard" "/$word/" ":_message x" "/$word/" ":_message y" \
     \| "/id$nul/" "$guard" "/$word/" ":_x_window" \
     \| "/(no|)keyrepeat$nul/" "$guard" \
-        \( "/[0-9]##$nul/" ":[[ -prefix [0-9]## ]] && _message keycode" \
-	  \( "/-$nul/" "/[0-9]##$nul/" ":[[ -prefix [0-9]## ]] && _message 'last keycode'" \| \) \) \# \
+        \( "/[0-9]##$nul/" ":[[ -prefix [0-9]# ]] && _message keycode" \
+	  \( "/-$nul/" "/[0-9]##$nul/" ":[[ -prefix [0-9]# ]] && _message 'last keycode'" \| \) \) \# \
     \| "/names$nul/" "$guard" "/$word/" ":_x_window -n" \# \
     \| "/[]/" ':_xwit_compopts' \
     \) \