From 4bc40f6663d6a809dda4dcbeae27902b5883cad1 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 28 Nov 2012 19:01:30 -0500 Subject: Add the GdkDevice to ETextEventProcessorCommand. Will be needed for grabs in response to button events. --- e-util/e-text-event-processor-emacs-like.c | 1 + 1 file changed, 1 insertion(+) (limited to 'e-util/e-text-event-processor-emacs-like.c') 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) -- cgit v1.2.3