Bug 22194 - XkbSetDetectableAutoRepeat problem
Summary: XkbSetDetectableAutoRepeat problem
Status: RESOLVED DUPLICATE of bug 22515
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/Input/XKB (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Daniel Stone
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-10 00:15 UTC by Rami Ylimaki
Modified: 2009-08-02 06:43 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Rami Ylimaki 2009-06-10 00:15:48 UTC
Hi Daniel,

This has been already privately discussed but I'll put it here so that it's not forgotten. It looks to me that the problem with XkbSetDetectableAutoRepeat is still present in git master. I don't have a proper environment to test the latest code, but it doesn't seem to have been fixed.

At an early stage (XkbProcessKeyboardEvent, AccessXKeyboardEvent), XkbLastRepeatEvent is initialized to point to an internal event. Then the actual detectable autorepeat functionality has been implemented in XkbFilterEvents by checking the value of XkbLastRepeatEvent. The problem is that between these two points the event has been copied to a core or extension event that has a different address (eg. in DeliverFocusedEvent).

Before internal events this problem affected only core events. After looking at the code it seems that this problem may be present also with extension events as the internal events have a different address as the copied extension events.

Is it just a matter of copying correct address to XkbLastRepeatEvent in EventToCore/EventToXI?
Comment 1 Martin Renold 2009-08-02 06:43:26 UTC

*** This bug has been marked as a duplicate of bug 22515 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.