Make nullplugin dialog not show up on clicks with buttons other than the left
mouse button. Bug 270377, patch by Vincent Caron <v.caron@zerodeux.net>, r=bryner, sr=bzbarsky git-svn-id: svn://10.0.0.236/trunk@168068 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -467,7 +467,10 @@ xt_event_handler(Widget xt_w, PluginInstance *This, XEvent *xevent, Boolean *b)
|
||||
drawPixmap(This);
|
||||
break;
|
||||
case ButtonRelease:
|
||||
makeWidget(This);
|
||||
if (xevent->xbutton.button == Button1)
|
||||
{
|
||||
makeWidget(This);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user