Commit a7177d02 authored by Gildas Bazin's avatar Gildas Bazin

* modules/gui/skins2/controls/ctrl_image.cpp: fixed the infamous popup bug under x11.

parent 394b2dcb
......@@ -2,7 +2,7 @@
* ctrl_image.cpp
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: ctrl_image.cpp,v 1.3 2004/02/29 16:49:55 asmax Exp $
* $Id$
*
* Authors: Cyril Deguet <asmax@via.ecp.fr>
* Olivier Teulire <ipkiss@via.ecp.fr>
......@@ -52,7 +52,7 @@ CtrlImage::~CtrlImage()
void CtrlImage::handleEvent( EvtGeneric &rEvent )
{
// No FSM for this simple transition
if( rEvent.getAsString() == "mouse:right:down:none" )
if( rEvent.getAsString() == "mouse:right:up:none" )
{
CmdDlgShowPopupMenu cmd( getIntf() );
cmd.execute();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment