diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index 37d193cc921..2656b30472d 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -11614,6 +11614,26 @@ handle_one_xevent (struct x_display_info *dpyinfo, | |||
| 11614 | ev.window = xev->event; | 11614 | ev.window = xev->event; |
| 11615 | ev.time = xev->time; | 11615 | ev.time = xev->time; |
| 11616 | 11616 | ||
| 11617 | #ifdef USE_MOTIF | ||
| 11618 | use_copy = true; | ||
| 11619 | |||
| 11620 | copy.xmotion.type = MotionNotify; | ||
| 11621 | copy.xmotion.serial = xev->serial; | ||
| 11622 | copy.xmotion.send_event = xev->send_event; | ||
| 11623 | copy.xmotion.display = dpyinfo->display; | ||
| 11624 | copy.xmotion.window = xev->event; | ||
| 11625 | copy.xmotion.root = xev->root; | ||
| 11626 | copy.xmotion.subwindow = xev->child; | ||
| 11627 | copy.xmotion.time = xev->time; | ||
| 11628 | copy.xmotion.x = lrint (xev->event_x); | ||
| 11629 | copy.xmotion.y = lrint (xev->event_y); | ||
| 11630 | copy.xmotion.x_root = lrint (xev->root_x); | ||
| 11631 | copy.xmotion.y_root = lrint (xev->root_y); | ||
| 11632 | copy.xmotion.state = 0; | ||
| 11633 | copy.xmotion.is_hint = False; | ||
| 11634 | copy.xmotion.same_screen = True; | ||
| 11635 | #endif | ||
| 11636 | |||
| 11617 | previous_help_echo_string = help_echo_string; | 11637 | previous_help_echo_string = help_echo_string; |
| 11618 | help_echo_string = Qnil; | 11638 | help_echo_string = Qnil; |
| 11619 | 11639 | ||