gtk3: set event device

use allocated-event and set device