[AD] [ alleg-Patches-1533919 ] keeping a key pressed will also send release events often |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: noreply@xxxxxxxxxx
- Subject: [AD] [ alleg-Patches-1533919 ] keeping a key pressed will also send release events often
- From: "SourceForge.net" <noreply@xxxxxxxxxx>
- Date: Thu, 03 Aug 2006 07:39:40 -0700
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-SourceForge-Tracker-unixname: alleg
X-SourceForge-Tracker-trackerid: 305665
X-SourceForge-Tracker-itemid: 1533919
X-SourceForge-Tracker-itemstatus: Open
X-SourceForge-Tracker-itemassignee: nobody
X-SourceForge-Tracker-itemupdate-reason: Tracker Item Submitted
X-SourceForge-Tracker-itemupdate-username: Item Submitter
Patches item #1533919, was opened at 2006-08-03 17:39
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305665&aid=1533919&group_id=5665
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Unix (X) or Linux
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: AtKaaZ (atkaaz)
Assigned to: Nobody/Anonymous (nobody)
Summary: keeping a key pressed will also send release events often
Initial Comment:
while the only thing happening in an allegro program.
is keeping a key pressed for a prolonged period of.
time, it so happens that also release events occur.
between those press events of the same key. (tested
in X window system v7, ubuntu 6.06 ...)
allefant(Elias Pschernig) on #allegro suggested this
change(just giving credit where credit is due)
on ./src/x/xwin.c at line 2294 (on the 4.3 svn
revision 7443, current as of 03 August 2006):
(event->xkey.time <= next_event->xkey.time +1))
which I've tested it and it compiles to run ok(, but
who knows what other side effects this fix may have,
but so far it is a good workaround.)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305665&aid=1533919&group_id=5665