emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 5a904c4: (Fx_change_window_property): Rename SOURCE


From: Noah Friedman
Subject: [Emacs-diffs] master 5a904c4: (Fx_change_window_property): Rename SOURCE arg to WINDOW-ID
Date: Fri, 9 Aug 2019 00:52:47 -0400 (EDT)

branch: master
commit 5a904c477be1787057965bdff023d9d9d89d9870
Author: Noah Friedman <address@hidden>
Commit: Noah Friedman <address@hidden>

    (Fx_change_window_property): Rename SOURCE arg to WINDOW-ID
---
 src/xfns.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/xfns.c b/src/xfns.c
index 5f5194d..bc3490d 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -5736,11 +5736,11 @@ It must be one of 8, 16 or 32.
 If VALUE is a string or FORMAT is nil or not given, FORMAT defaults to 8.
 If OUTER-P is non-nil, the property is changed for the outer X window of
 FRAME.  Default is to change on the edit X window.
-If SOURCE is non-nil, set the property on that window instead of from
-FRAME.  The number 0 denotes the root window.  */)
+If WINDOW-ID is non-nil, set the property on that window instead of FRAME.
+The number 0 denotes the root window.  */)
   (Lisp_Object prop, Lisp_Object value, Lisp_Object frame,
    Lisp_Object type, Lisp_Object format, Lisp_Object outer_p,
-   Lisp_Object source)
+   Lisp_Object window_id)
 {
   struct frame *f = decode_window_system_frame (frame);
   Atom prop_atom;
@@ -5804,9 +5804,9 @@ FRAME.  The number 0 denotes the root window.  */)
       target_type = XInternAtom (FRAME_X_DISPLAY (f), SSDATA (type), False);
     }
 
-  if (! NILP (source))
+  if (! NILP (window_id))
     {
-      CONS_TO_INTEGER (source, Window, w);
+      CONS_TO_INTEGER (window_id, Window, w);
       if (! w)
        w = FRAME_DISPLAY_INFO (f)->root_window;
     }



reply via email to

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