aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2022-12-07 16:54:47 +0200
committerEli Zaretskii2022-12-07 16:54:47 +0200
commita6ada6bd26195a7b5359b3b13323dee35f12a40e (patch)
treeadd08324a3744910905126b512216cc4450b8ac7 /src
parent51a192023ae161a31c90f3ef3e163f10da52075b (diff)
downloademacs-a6ada6bd26195a7b5359b3b13323dee35f12a40e.tar.gz
emacs-a6ada6bd26195a7b5359b3b13323dee35f12a40e.zip
; Minor copyedits of the latest xterm change
* src/xterm.h (struct x_display_info): Fix a comment. * src/xterm.c (syms_of_xterm) <x-detect-server-trust>: Doc fix.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c6
-rw-r--r--src/xterm.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/xterm.c b/src/xterm.c
index f2dbff1c446..4c859c46c31 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -31837,12 +31837,12 @@ If that is still too slow, setting this variable to the symbol
31837 Vx_use_fast_mouse_position = Qnil; 31837 Vx_use_fast_mouse_position = Qnil;
31838 31838
31839 DEFVAR_LISP ("x-detect-server-trust", Vx_detect_server_trust, 31839 DEFVAR_LISP ("x-detect-server-trust", Vx_detect_server_trust,
31840 doc: /* Whether or not Emacs should detect whether or not it is trusted by X. 31840 doc: /* If non-nil, Emacs should detect whether or not it is trusted by X.
31841 31841
31842If non-nil, Emacs will make an X request at connection startup that is 31842If non-nil, Emacs will make an X request at connection startup that is
31843prohibited to untrusted clients under the X Security Extension and 31843prohibited to untrusted clients under the X Security Extension and
31844check whether or not a resulting Access error is generated by the X 31844check whether or not a resulting Access error is generated by the X
31845server. If the X server reports the error, then Emacs will disable 31845server. If the X server reports the error, Emacs will disable certain
31846certain features that do not work for untrusted clients. */); 31846features that do not work for untrusted clients. */);
31847 Vx_detect_server_trust = Qnil; 31847 Vx_detect_server_trust = Qnil;
31848} 31848}
diff --git a/src/xterm.h b/src/xterm.h
index c3bd647b6f3..9ce5403ef9b 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -376,8 +376,8 @@ struct x_display_info
376 /* Number of frames that are on this display. */ 376 /* Number of frames that are on this display. */
377 int reference_count; 377 int reference_count;
378 378
379 /* True if this client cannot communicate with the window manager 379 /* True if we cannot communicate with the window manager because it
380 because it is untrusted. */ 380 does not trust us. */
381 bool untrusted; 381 bool untrusted;
382 382
383 /* The Screen this connection is connected to. */ 383 /* The Screen this connection is connected to. */