aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNoah Friedman2019-08-08 21:52:37 -0700
committerNoah Friedman2019-08-08 21:52:37 -0700
commit5a904c477be1787057965bdff023d9d9d89d9870 (patch)
tree74d884e9338324d8cec846dd7a97ae3e646ad2c1 /src
parent8f93dce7c0bf0d1bb0b27a6f2416fd2d404cb6a9 (diff)
downloademacs-5a904c477be1787057965bdff023d9d9d89d9870.tar.gz
emacs-5a904c477be1787057965bdff023d9d9d89d9870.zip
(Fx_change_window_property): Rename SOURCE arg to WINDOW-ID
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 5f5194d78f4..bc3490d59bf 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -5736,11 +5736,11 @@ It must be one of 8, 16 or 32.
5736If VALUE is a string or FORMAT is nil or not given, FORMAT defaults to 8. 5736If VALUE is a string or FORMAT is nil or not given, FORMAT defaults to 8.
5737If OUTER-P is non-nil, the property is changed for the outer X window of 5737If OUTER-P is non-nil, the property is changed for the outer X window of
5738FRAME. Default is to change on the edit X window. 5738FRAME. Default is to change on the edit X window.
5739If SOURCE is non-nil, set the property on that window instead of from 5739If WINDOW-ID is non-nil, set the property on that window instead of FRAME.
5740FRAME. The number 0 denotes the root window. */) 5740The number 0 denotes the root window. */)
5741 (Lisp_Object prop, Lisp_Object value, Lisp_Object frame, 5741 (Lisp_Object prop, Lisp_Object value, Lisp_Object frame,
5742 Lisp_Object type, Lisp_Object format, Lisp_Object outer_p, 5742 Lisp_Object type, Lisp_Object format, Lisp_Object outer_p,
5743 Lisp_Object source) 5743 Lisp_Object window_id)
5744{ 5744{
5745 struct frame *f = decode_window_system_frame (frame); 5745 struct frame *f = decode_window_system_frame (frame);
5746 Atom prop_atom; 5746 Atom prop_atom;
@@ -5804,9 +5804,9 @@ FRAME. The number 0 denotes the root window. */)
5804 target_type = XInternAtom (FRAME_X_DISPLAY (f), SSDATA (type), False); 5804 target_type = XInternAtom (FRAME_X_DISPLAY (f), SSDATA (type), False);
5805 } 5805 }
5806 5806
5807 if (! NILP (source)) 5807 if (! NILP (window_id))
5808 { 5808 {
5809 CONS_TO_INTEGER (source, Window, w); 5809 CONS_TO_INTEGER (window_id, Window, w);
5810 if (! w) 5810 if (! w)
5811 w = FRAME_DISPLAY_INFO (f)->root_window; 5811 w = FRAME_DISPLAY_INFO (f)->root_window;
5812 } 5812 }