I'm unable to reproduce this on my lenny/KDE system, however there are enough reports of it around the web that it obviously is a real problem.

Upstream have proposed a different fix to the one mentioned in the Gentoo bug report. I have attached a copy of the patch - can you try it and let us know if it fixes the problem for you.

Colin
--- pTk/mTk/generic/tk.h.orig   2007-05-05 20:41:02.000000000 +0200
+++ pTk/mTk/generic/tk.h        2008-08-27 03:16:31.000000000 +0200
@@ -677,17 +677,15 @@
  *
  *---------------------------------------------------------------------------
  */
-#define VirtualEvent        (LASTEvent)
-#define ActivateNotify      (LASTEvent + 1)
-#define DeactivateNotify    (LASTEvent + 2)
-#define MouseWheelEvent     (LASTEvent + 3)
-#define TK_LASTEVENT        (LASTEvent + 4)
+#define VirtualEvent        (MappingNotify + 1)
+#define ActivateNotify      (MappingNotify + 2)
+#define DeactivateNotify    (MappingNotify + 3)
+#define MouseWheelEvent     (MappingNotify + 4)
+#define TK_LASTEVENT        (MappingNotify + 5)
 
 #define MouseWheelMask      (1L << 28)
-
 #define ActivateMask        (1L << 29)
 #define VirtualEventMask    (1L << 30)
-#define TK_LASTEVENT        (LASTEvent + 4)
 
 
 /*

Reply via email to