Skip to content

Commit

Permalink
runtime(doc): Update help for Wayland support
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brabandt <cb@256bit.org>
  • Loading branch information
chrisbra committed Jan 30, 2024
1 parent fef6630 commit 1b7fbe7
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
14 changes: 12 additions & 2 deletions runtime/doc/gui_x11.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*gui_x11.txt* For Vim version 9.1. Last change: 2022 Apr 03
*gui_x11.txt* For Vim version 9.1. Last change: 2024 Jan 30


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -580,7 +580,8 @@ command line argument).
*gui-x11-kde*
There is no KDE version of Vim. There has been some work on a port using the
Qt toolkit, but it never worked properly and it has been abandoned. Work
continues on Yzis: https://github.com/chrizel/Yzis.
continues on Yzis: https://github.com/chrizel/Yzis but it seems also
abandoned.

==============================================================================
8. Compiling *gui-x11-compiling*
Expand Down Expand Up @@ -647,6 +648,15 @@ versions. This will cause problems. For example, using header files for
X11R5 with a library for X11R6 probably doesn't work (although the linking
won't give an error message, Vim will crash later).

*gui-wayland*
Initial support for the Wayland display server protocol has landed in patch
9.0.0064. To enable it, you need to set the environment variable
"$GVIM_ENABLE_WAYLAND" in your shell.

Note: The Wayland protocol is subject to some restrictions, so the following
functions won't work: |getwinpos()|, |getwinposx()|, |getwinposy()| and the
|v:windowid| variable won't be available.

==============================================================================
9. X11 selection mechanism *x11-selection*

Expand Down
7 changes: 5 additions & 2 deletions runtime/doc/options.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*options.txt* For Vim version 9.1. Last change: 2024 Jan 17
*options.txt* For Vim version 9.1. Last change: 2024 Jan 30


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -8581,8 +8581,11 @@ A jump table for the options with a short description can be found at |Q_op|.
will not work (except in the GUI).
If the title cannot be restored, it is set to the value of 'titleold'.
You might want to restore the title outside of Vim then.
When using an xterm from a remote machine you can use this command:
When using an xterm from a remote machine you can use this command: >
rsh machine_name xterm -display $DISPLAY &
ssh -X machine_name xterm &
<
then the WINDOWID environment variable should be inherited and the
title of the window should change back to what it should be after
exiting Vim.
Expand Down
1 change: 1 addition & 0 deletions runtime/doc/tags
Original file line number Diff line number Diff line change
Expand Up @@ -7869,6 +7869,7 @@ gui-w32-start gui_w32.txt /*gui-w32-start*
gui-w32-various gui_w32.txt /*gui-w32-various*
gui-w32-windowid gui_w32.txt /*gui-w32-windowid*
gui-w32s os_win32.txt /*gui-w32s*
gui-wayland gui_x11.txt /*gui-wayland*
gui-win32-maximized gui_w32.txt /*gui-win32-maximized*
gui-x11 gui_x11.txt /*gui-x11*
gui-x11-athena gui_x11.txt /*gui-x11-athena*
Expand Down

0 comments on commit 1b7fbe7

Please sign in to comment.