Skip to content

Commit 71fa164

Browse files
committed
Update wayland.{txt,jax}
1 parent 68fcafe commit 71fa164

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

doc/wayland.jax

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*wayland.txt* For Vim バージョン 9.1. Last change: 2025 Sep 15
1+
*wayland.txt* For Vim バージョン 9.1. Last change: 2025 Sep 22
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -101,8 +101,9 @@ Vim などの外部クライアントがフォーカスされていない状態
101101
この問題を解決するため、Vim は一時的に透明なトップレベルサーフェスを作成するこ
102102
とで、クリップボードにアクセスするためにフォーカスを取得する方法を実装してい
103103
る。これはデフォルトでは無効になっているが、'wlsteal' オプションで有効にでき
104-
る。さらに、キーボード付きのシート、'wlseat' を参照、と xdg-shell プロトコルが
105-
利用可能である必要がある。
104+
る。さらに、キーボード付きのシート、'wlseat' を参照、および xdg-shell プロトコ
105+
ルが利用可能である必要がある。加えて Vim は |+wayland_focus_steal| 機能を使用
106+
してコンパイルする必要がある。
106107

107108
Note この方法は、フォーカスを奪取することによるいくつかの副作用を引き起こす可
108109
能性があることに注意。例えば、デスクトップ環境に現在開いているアプリを表示する

en/wayland.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*wayland.txt* For Vim version 9.1. Last change: 2025 Sep 15
1+
*wayland.txt* For Vim version 9.1. Last change: 2025 Sep 22
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -105,7 +105,8 @@ To solve this problem, Vim implements a way of gaining focus in order to
105105
access the clipboard, by creating a temporary transparent top-level surface.
106106
This is by default disabled and can be enabled via the 'wlsteal' option.
107107
Moreover, a seat that has a keyboard is also required, see 'wlseat', and the
108-
xdg-shell protocol must be available.
108+
xdg-shell protocol must be available. Additionally, Vim must be compiled with
109+
the |+wayland_focus_steal| feature.
109110

110111
Note that this method can have several side effects from the result of focus
111112
stealing. For example, if you have a taskbar that shows currently opened apps

0 commit comments

Comments
 (0)