Subject: | Tk events break if built with x11proto-core 7.0.13 |
[This is a duplicate bug report from #38745, because it was filed by
mistake against perl-tk which is apparently not the same as Tk]
In x11proto-core 7.0.13, a new event (``GenericEvent'') was added at the
end of the list, after ``MappingNotify''. Since the Tk toolkit's event
management was poorly designed, older versions of the Tk toolkit and
current version of Perl-Tk fail at runtime with the message "no event
type or button # or keysym" when compiled against (or even run under ?)
an X11 server with the new event list.
This issue has been reported as bug 2010422 of the Tk toolkit and a
patch was provided and applied (at least partially) to the core 8.4,
core 8.5 and current branches. This is only a short-term solution
(patching the event list in generic/tk.h) and the Tk team is thinking of
a long-term solution for future releases.
In Perl-Tk the issue was not yet corrected AFAIK (I tried version
804.028 under Mac OS X v. 10.5.4 with XQuartz 2.3.0). It is enough to
patch the file pTk/mTk/generic/tk.h to fix it. Please find a patch that
does it along with this report.
Subject: | patch-lastevent |
Message body not shown because it is not plain text.