gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [patch #9015] Prevent right click from signaling a moused


From: Dag Hovland
Subject: [Gnash-commit] [patch #9015] Prevent right click from signaling a mousedown in Qt-based gui
Date: Thu, 2 Jun 2016 10:43:54 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]