diff --git a/doc/wayland.jax b/doc/wayland.jax index f3c019c60..8046e9381 100644 --- a/doc/wayland.jax +++ b/doc/wayland.jax @@ -1,4 +1,4 @@ -*wayland.txt* For Vim バージョン 9.1. Last change: 2025 Sep 15 +*wayland.txt* For Vim バージョン 9.1. Last change: 2025 Sep 22 VIMリファレンスマニュアル by Bram Moolenaar @@ -101,8 +101,9 @@ Vim などの外部クライアントがフォーカスされていない状態 この問題を解決するため、Vim は一時的に透明なトップレベルサーフェスを作成するこ とで、クリップボードにアクセスするためにフォーカスを取得する方法を実装してい る。これはデフォルトでは無効になっているが、'wlsteal' オプションで有効にでき -る。さらに、キーボード付きのシート、'wlseat' を参照、と xdg-shell プロトコルが -利用可能である必要がある。 +る。さらに、キーボード付きのシート、'wlseat' を参照、および xdg-shell プロトコ +ルが利用可能である必要がある。加えて Vim は |+wayland_focus_steal| 機能を使用 +してコンパイルする必要がある。 Note この方法は、フォーカスを奪取することによるいくつかの副作用を引き起こす可 能性があることに注意。例えば、デスクトップ環境に現在開いているアプリを表示する diff --git a/en/wayland.txt b/en/wayland.txt index adb7e694f..cbcdc0dc9 100644 --- a/en/wayland.txt +++ b/en/wayland.txt @@ -1,4 +1,4 @@ -*wayland.txt* For Vim version 9.1. Last change: 2025 Sep 15 +*wayland.txt* For Vim version 9.1. Last change: 2025 Sep 22 VIM REFERENCE MANUAL by Bram Moolenaar @@ -105,7 +105,8 @@ To solve this problem, Vim implements a way of gaining focus in order to access the clipboard, by creating a temporary transparent top-level surface. This is by default disabled and can be enabled via the 'wlsteal' option. Moreover, a seat that has a keyboard is also required, see 'wlseat', and the -xdg-shell protocol must be available. +xdg-shell protocol must be available. Additionally, Vim must be compiled with +the |+wayland_focus_steal| feature. Note that this method can have several side effects from the result of focus stealing. For example, if you have a taskbar that shows currently opened apps