Got rid of signals in the pressed path
This commit is contained in:
@ -210,12 +210,9 @@ eek_gtk_keyboard_real_button_press_event (GtkWidget *self,
|
||||
(gdouble)event->x,
|
||||
(gdouble)event->y);
|
||||
if (key) {
|
||||
g_log("squeek", G_LOG_LEVEL_DEBUG, "emit EekKey pressed");
|
||||
g_signal_emit_by_name (key, "pressed"); // TODO: set the pressed property on the key instead
|
||||
eek_keyboard_press_key(priv->keyboard, key, event->time);
|
||||
on_key_pressed(priv->keyboard, key, event->time, EEK_GTK_KEYBOARD(self));
|
||||
}
|
||||
// TODO: send time
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user