Hello all,

I've attached a patch that accepts all key events by default.  This
fixes a problem where "unaccepted" keys would crash myth.

More specifically, if your input device is setup to raise X multimedia
keys, they will in turn raise QKeyEvents for keys like "Volume Down" or
"Media Play."  These key events are raised with their accept flag unset.
The unaccepted events are sent to the appropriate widget, and work back
through the widgets which contain them until MythMainWindow receives the
event (again), and sends it back out.  This keeps stack smashing until
myth dies.

Cheers!
-- 
Micah F. Galizia
[EMAIL PROTECTED]

"The mark of an immature man is that he wants to die
nobly for a cause, while the mark of the mature man is
that he wants to live humbly for one."   --W. Stekel

Attachment: acceptallkeys.diff.gz
Description: GNU Zip compressed data

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to