aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-text-event-processor-emacs-like.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-text-event-processor-emacs-like.c')
-rw-r--r--e-util/e-text-event-processor-emacs-like.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/e-util/e-text-event-processor-emacs-like.c b/e-util/e-text-event-processor-emacs-like.c
index fa724a2c77..2a42ae939c 100644
--- a/e-util/e-text-event-processor-emacs-like.c
+++ b/e-util/e-text-event-processor-emacs-like.c
@@ -133,6 +133,7 @@ e_text_event_processor_emacs_like_event (ETextEventProcessor *tep,
case GDK_BUTTON_PRESS:
if (event->button.button == 1 || event->button.button == 2) {
command.action = E_TEP_GRAB;
+ command.device = event->button.device;
command.time = event->button.time;
g_signal_emit_by_name (tep, "command", &command);
if (event->button.button == 1 && event->button.state & GDK_SHIFT_MASK)