pkgsrc/x11/xview-lib/patches/patch-da
2012-11-16 00:29:39 +00:00

58 lines
1.8 KiB
Text

$NetBSD: patch-da,v 1.3 2012/11/16 00:29:40 joerg Exp $
--- lib/libxview/textsw/txt_move.c.orig 1993-06-29 05:17:47.000000000 +0000
+++ lib/libxview/textsw/txt_move.c
@@ -55,7 +55,7 @@ static char sccsid[] = "@(#)txt_move
static int dnd_data_key = 0; /* XXX: Don't do this at home kids. */
static int dnd_view_key = 0;
-static int DndConvertProc();
+int DndConvertProc();
Pkg_private Es_handle textsw_esh_for_span();
Pkg_private Es_index ev_resolve_xy();
@@ -66,6 +66,8 @@ Pkg_private int textsw_end_quick_move();
Pkg_private void textsw_finish_move();
Pkg_private void textsw_finish_duplicate();
Pkg_private void textsw_reset_cursor();
+Pkg_private void xv_do_move(Textsw_view_handle, Event *);
+Pkg_private void textsw_do_duplicate(Textsw_view_handle, Event *);
static unsigned short drag_move_arrow_data[] = {
#include <images/text_move_cursor.pr>
@@ -358,7 +360,7 @@ textsw_reset_cursor(view)
* all input events go to track move(). On button up, xv_do_move() is called...
* resets track state.
*/
-Pkg_private int
+Pkg_private void
xv_do_move(view, ie)
Textsw_view_handle view;
register Event *ie;
@@ -465,7 +467,7 @@ xv_do_move(view, ie)
}
}
-Pkg_private int
+Pkg_private void
textsw_do_duplicate(view, ie)
Textsw_view_handle view;
register Event *ie;
@@ -688,7 +690,7 @@ textsw_do_drag_copy_move(view, ie, is_co
xv_destroy(dnd_accept_cursor);
}
-static int
+int
DndConvertProc(dnd, type, data, length, format)
Dnd dnd;
Atom *type;
@@ -777,7 +779,7 @@ DndConvertProc(dnd, type, data, length,
* ACTION_DRAG_MOVE is a result of XSendEvent called by the subwindow that
* originally sees the button-down that starts the drag move
*/
-Pkg_private
+Pkg_private void
textsw_do_remote_drag_copy_move(view, ie, is_copy)
register Textsw_view_handle view;
Event *ie;