Pass keystrokes to other window



Hello list: some time ago I sent a message asking how could I resend a message
to another window. I have made this and it is working, but I would like to know
if this is correct:

gdk_window_unref(event->window);
event->window = otherwindow;
gdk_window_ref(event->window);
gdk_event_put(event);

It works well... till now.

regards




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]