in reply to Re^3: Gtk2 X11 GrabKey
in thread Gtk2 X11 GrabKey
Shouldn't you say something like return unless my %event = $x->dequeue_event rather than $x->next_event? The docs seem to suggest that next_event will block until you get your final results. As to your error, I'm not sure what to say as I don't use X11. Sorry.
|
|---|