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:
bzbarsky%mit.edu
2005-01-20 17:04:20 +00:00
parent 04cec0c106
commit 6822f7d4e3

View File

@@ -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;