Mercurial > emacs
comparison src/xselect.c @ 67670:8596872766c6
(x_handle_dnd_message): Drag-and-drop items are now
stored in member `args' of struct input_event.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Mon, 19 Dec 2005 08:31:33 +0000 |
parents | a0d1312ede66 |
children | 3bd95f4f2941 b64b7e867d0a 7beb78bc1f8e |
comparison
equal
deleted
inserted
replaced
67669:31fb537a065c | 67670:8596872766c6 |
---|---|
2725 event->format, | 2725 event->format, |
2726 size); | 2726 size); |
2727 | 2727 |
2728 mouse_position_for_drop (f, &x, &y); | 2728 mouse_position_for_drop (f, &x, &y); |
2729 bufp->kind = DRAG_N_DROP_EVENT; | 2729 bufp->kind = DRAG_N_DROP_EVENT; |
2730 bufp->frame_or_window = Fcons (frame, vec); | 2730 bufp->frame_or_window = frame; |
2731 bufp->timestamp = CurrentTime; | 2731 bufp->timestamp = CurrentTime; |
2732 bufp->x = make_number (x); | 2732 bufp->x = make_number (x); |
2733 bufp->y = make_number (y); | 2733 bufp->y = make_number (y); |
2734 bufp->arg = Qnil; | 2734 bufp->arg = vec; |
2735 bufp->modifiers = 0; | 2735 bufp->modifiers = 0; |
2736 | 2736 |
2737 return 1; | 2737 return 1; |
2738 } | 2738 } |
2739 | 2739 |