diff options
| author | Po Lu | 2022-12-01 19:15:28 +0800 |
|---|---|---|
| committer | Eli Zaretskii | 2022-12-01 14:34:17 +0200 |
| commit | 3b5b99ac919eff05374d74b4a052d33c34c56742 (patch) | |
| tree | 188a870658a3f93b2d304e741e486e500638fbaf | |
| parent | 4b2f5425d7af1a6f992ad8ce0a4452a2e778815a (diff) | |
| download | emacs-3b5b99ac919eff05374d74b4a052d33c34c56742.tar.gz emacs-3b5b99ac919eff05374d74b4a052d33c34c56742.zip | |
* doc/lispref/frames.texi (Input Focus): Clarify for XInput 2 support.
| -rw-r--r-- | doc/lispref/frames.texi | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index b3f1a29ae8f..a656964198b 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi | |||
| @@ -2854,10 +2854,18 @@ The plural ``frames'' in the previous paragraph is deliberate: while | |||
| 2854 | Emacs itself has only one selected frame, Emacs can have frames on | 2854 | Emacs itself has only one selected frame, Emacs can have frames on |
| 2855 | many different terminals (recall that a connection to a window system | 2855 | many different terminals (recall that a connection to a window system |
| 2856 | counts as a terminal), and each terminal has its own idea of which | 2856 | counts as a terminal), and each terminal has its own idea of which |
| 2857 | frame has input focus. When you set the input focus to a frame, you | 2857 | frame has input focus. Under the X Window System, where user input is |
| 2858 | set the focus for that frame's terminal, but frames on other terminals | 2858 | organized into individual ``seats'' of input, each seat in turn can |
| 2859 | have its own specific input focus. When you set the input focus to a | ||
| 2860 | frame, you set the focus for that frame's terminal on the last seat | ||
| 2861 | which interacted with Emacs, but frames on other terminals and seats | ||
| 2859 | may still remain focused. | 2862 | may still remain focused. |
| 2860 | 2863 | ||
| 2864 | If the input focus is set before any user interaction has occurred on | ||
| 2865 | the specified terminal, then the X server picks a random seat | ||
| 2866 | (normally the one with the lowest number) and sets the input focus | ||
| 2867 | there. | ||
| 2868 | |||
| 2861 | Lisp programs can switch frames temporarily by calling the function | 2869 | Lisp programs can switch frames temporarily by calling the function |
| 2862 | @code{select-frame}. This does not alter the window system's concept | 2870 | @code{select-frame}. This does not alter the window system's concept |
| 2863 | of focus; rather, it escapes from the window manager's control until | 2871 | of focus; rather, it escapes from the window manager's control until |