]> git.eshelyaron.com Git - emacs.git/commitdiff
Added C support for drag and drop (xterm.h, xterm.c, xfns.c and xselect.c)
authorJan Djärv <jan.h.d@swipnet.se>
Tue, 3 Feb 2004 16:36:29 +0000 (16:36 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Tue, 3 Feb 2004 16:36:29 +0000 (16:36 +0000)
src/ChangeLog

index 76d63cab84449b9199ebfdac54f4ae5c38b8a081..4bda31d9a014a4c550ab964396a7f4d330ec23f0 100644 (file)
@@ -1,3 +1,27 @@
+2004-02-03  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xterm.h: Add x_handle_dnd_message, x_check_property_data,
+       x_fill_property_data, x_property_data_to_lisp and check_x_display_info.
+
+       * xterm.c (handle_one_xevent): Call x_handle_dnd_message for
+       ClientMessages.
+
+       * xselect.c: Include termhooks.h and X11/Xproto.h
+       (x_check_property_data, x_fill_property_data)
+       (x_property_data_to_lisp, mouse_position_for_drop)
+       (Fx_get_atom_name, x_handle_dnd_message): New functions for DND support.
+       (Fx_send_client_event): Moved here from xfns.c.
+       (syms_of_xselect): Add Sx_get_atom_name and Sx_send_client_message.
+
+       * xfns.c (x-send-client-message): Moved to xselect.c
+       (Fx_change_window_property): Add optional arguments TYPE, FORMAT and
+       OUTER_P.
+       (Fx_window_property): Add optional arguments TYPE, SOURCE, DELETE_P,
+       VECTOR_RET_P.  Handle AnyPropertyType.  Call x_property_data_to_lisp
+       if vector_ret_p is true.
+       (syms_of_xfns): Sx_send_client_message moved to xselect.c.
+       
+
 2004-02-02  Eli Zaretskii  <eliz@elta.co.il>
 
        * fileio.c (Fcopy_file): If NEWNAME is a directory, expand the