emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master a6ada6bd261: ; Minor copyedits of the latest xterm change


From: Eli Zaretskii
Subject: master a6ada6bd261: ; Minor copyedits of the latest xterm change
Date: Wed, 7 Dec 2022 09:55:42 -0500 (EST)

branch: master
commit a6ada6bd26195a7b5359b3b13323dee35f12a40e
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; 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.
---
 src/xterm.c | 6 +++---
 src/xterm.h | 4 ++--
 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
   Vx_use_fast_mouse_position = Qnil;
 
   DEFVAR_LISP ("x-detect-server-trust", Vx_detect_server_trust,
-    doc: /* Whether or not Emacs should detect whether or not it is trusted by 
X.
+    doc: /* If non-nil, Emacs should detect whether or not it is trusted by X.
 
 If non-nil, Emacs will make an X request at connection startup that is
 prohibited to untrusted clients under the X Security Extension and
 check whether or not a resulting Access error is generated by the X
-server.  If the X server reports the error, then Emacs will disable
-certain features that do not work for untrusted clients.  */);
+server.  If the X server reports the error, Emacs will disable certain
+features that do not work for untrusted clients.  */);
   Vx_detect_server_trust = Qnil;
 }
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
   /* Number of frames that are on this display.  */
   int reference_count;
 
-  /* True if this client cannot communicate with the window manager
-     because it is untrusted.  */
+  /* True if we cannot communicate with the window manager because it
+     does not trust us.  */
   bool untrusted;
 
   /* The Screen this connection is connected to.  */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]