Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions doc/wayland.jax
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -101,8 +101,9 @@ Vim などの外部クライアントがフォーカスされていない状態
この問題を解決するため、Vim は一時的に透明なトップレベルサーフェスを作成するこ
とで、クリップボードにアクセスするためにフォーカスを取得する方法を実装してい
る。これはデフォルトでは無効になっているが、'wlsteal' オプションで有効にでき
る。さらに、キーボード付きのシート、'wlseat' を参照、と xdg-shell プロトコルが
利用可能である必要がある。
る。さらに、キーボード付きのシート、'wlseat' を参照、および xdg-shell プロトコ
ルが利用可能である必要がある。加えて Vim は |+wayland_focus_steal| 機能を使用
してコンパイルする必要がある。

Note この方法は、フォーカスを奪取することによるいくつかの副作用を引き起こす可
能性があることに注意。例えば、デスクトップ環境に現在開いているアプリを表示する
Expand Down
5 changes: 3 additions & 2 deletions en/wayland.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down