summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-05-09 18:59:31 +0200
committerBram Moolenaar <Bram@vim.org>2019-05-09 18:59:31 +0200
commitd4aa83af1d691fdabbc8e6aab36db2c96ea4d4b6 (patch)
treeb2388947080bf130e2fcb7da283d91895e3ae63a /src/ex_cmds.h
parenteae1b91fea74842000fc055afc74fe2e7934c6ee (diff)
patch 8.1.1307: cannot reconnect to the X server after it restartedv8.1.1307
Problem: Cannot reconnect to the X server after it restarted. Solution: Add the :xrestore command. (Adrian Kocis, closes #844)
Diffstat (limited to 'src/ex_cmds.h')
-rw-r--r--src/ex_cmds.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h
index 37577f7b30..5ec69be364 100644
--- a/src/ex_cmds.h
+++ b/src/ex_cmds.h
@@ -1739,6 +1739,9 @@ EX(CMD_xnoremap, "xnoremap", ex_map,
EX(CMD_xnoremenu, "xnoremenu", ex_menu,
RANGE|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN,
ADDR_OTHER),
+EX(CMD_xrestore, "xrestore", ex_xrestore,
+ EXTRA|TRLBAR|CMDWIN,
+ ADDR_NONE),
EX(CMD_xunmap, "xunmap", ex_unmap,
EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN,
ADDR_NONE),