The stupid question is the question not asked | |
PerlMonks |
Re^4: Gtk2 X11 GrabKeyby dcmertens (Scribe) |
on Dec 14, 2013 at 18:32 UTC ( [id://1067172]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|