[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [bug #48066] Qt4 Gnash mistakenly sends `mouseDown` event
From: |
Dag Hovland |
Subject: |
[Gnash-commit] [bug #48066] Qt4 Gnash mistakenly sends `mouseDown` event when user right-clicked on the SWF |
Date: |
Thu, 2 Jun 2016 10:26:45 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0 |
Follow-up Comment #2, bug #48066 (project gnash):
This is fixed by adding a check for LeftButton in Qt4Glue.cpp
DrawingWidget::mousePressEvent, e.g. like this:
void
DrawingWidget::mousePressEvent(QMouseEvent* event)
{
if(Qt::LeftButton & event->button())
_gui.notifyMouseClick(true);
}
Patch attached
cheers,
Dag
(file #37351)
_______________________________________________________
Additional Item Attachment:
File name: rightclick.patch Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48066>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Gnash-commit] [bug #48066] Qt4 Gnash mistakenly sends `mouseDown` event when user right-clicked on the SWF,
Dag Hovland <=