Skip to content

Commit 1b7fbe7

Browse files
committed
runtime(doc): Update help for Wayland support
Signed-off-by: Christian Brabandt <[email protected]>
1 parent fef6630 commit 1b7fbe7

3 files changed

Lines changed: 18 additions & 4 deletions

File tree

runtime/doc/gui_x11.txt

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*gui_x11.txt* For Vim version 9.1. Last change: 2022 Apr 03
1+
*gui_x11.txt* For Vim version 9.1. Last change: 2024 Jan 30
22

33

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

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

651+
*gui-wayland*
652+
Initial support for the Wayland display server protocol has landed in patch
653+
9.0.0064. To enable it, you need to set the environment variable
654+
"$GVIM_ENABLE_WAYLAND" in your shell.
655+
656+
Note: The Wayland protocol is subject to some restrictions, so the following
657+
functions won't work: |getwinpos()|, |getwinposx()|, |getwinposy()| and the
658+
|v:windowid| variable won't be available.
659+
650660
==============================================================================
651661
9. X11 selection mechanism *x11-selection*
652662

runtime/doc/options.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 9.1. Last change: 2024 Jan 17
1+
*options.txt* For Vim version 9.1. Last change: 2024 Jan 30
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -8581,8 +8581,11 @@ A jump table for the options with a short description can be found at |Q_op|.
85818581
will not work (except in the GUI).
85828582
If the title cannot be restored, it is set to the value of 'titleold'.
85838583
You might want to restore the title outside of Vim then.
8584-
When using an xterm from a remote machine you can use this command:
8584+
When using an xterm from a remote machine you can use this command: >
8585+
85858586
rsh machine_name xterm -display $DISPLAY &
8587+
ssh -X machine_name xterm &
8588+
<
85868589
then the WINDOWID environment variable should be inherited and the
85878590
title of the window should change back to what it should be after
85888591
exiting Vim.

runtime/doc/tags

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7869,6 +7869,7 @@ gui-w32-start gui_w32.txt /*gui-w32-start*
78697869
gui-w32-various gui_w32.txt /*gui-w32-various*
78707870
gui-w32-windowid gui_w32.txt /*gui-w32-windowid*
78717871
gui-w32s os_win32.txt /*gui-w32s*
7872+
gui-wayland gui_x11.txt /*gui-wayland*
78727873
gui-win32-maximized gui_w32.txt /*gui-win32-maximized*
78737874
gui-x11 gui_x11.txt /*gui-x11*
78747875
gui-x11-athena gui_x11.txt /*gui-x11-athena*

0 commit comments

Comments
 (0)