Dag Hovland
2016-06-02 10:43:54 UTC
URL:
<http://savannah.gnu.org/patch/?9015>
Summary: Prevent right click from signaling a mousedown in
Qt-based gui
Project: Gnash - The GNU Flash player
Submitted by: daghovland
Submitted on: Thu 02 Jun 2016 10:43:52 AM GMT
Category: gui-kde
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
This is a patch for bug https://savannah.gnu.org/bugs/?48066
In the qt-based gui's, right-clicks with the mouse lead to a mousedown event.
This is inconsistent with the behaviour in the gtk-based gui's. The patch adds
a filter for LeftButton in the two qt-based gui's like this:
void
qwidget::mousePressEvent(QMouseEvent* event)
{
if(Qt::LeftButton & event->button())
_godfather->notifyMouseClick(true);
}
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 02 Jun 2016 10:43:52 AM GMT Name: rightclick.patch Size: 885B
By: daghovland
patch for Qt4 left mouse click filter
<http://savannah.gnu.org/patch/download.php?file_id=37352>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?9015>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
<http://savannah.gnu.org/patch/?9015>
Summary: Prevent right click from signaling a mousedown in
Qt-based gui
Project: Gnash - The GNU Flash player
Submitted by: daghovland
Submitted on: Thu 02 Jun 2016 10:43:52 AM GMT
Category: gui-kde
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
This is a patch for bug https://savannah.gnu.org/bugs/?48066
In the qt-based gui's, right-clicks with the mouse lead to a mousedown event.
This is inconsistent with the behaviour in the gtk-based gui's. The patch adds
a filter for LeftButton in the two qt-based gui's like this:
void
qwidget::mousePressEvent(QMouseEvent* event)
{
if(Qt::LeftButton & event->button())
_godfather->notifyMouseClick(true);
}
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 02 Jun 2016 10:43:52 AM GMT Name: rightclick.patch Size: 885B
By: daghovland
patch for Qt4 left mouse click filter
<http://savannah.gnu.org/patch/download.php?file_id=37352>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?9015>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/