From: black Date: Mon, 10 Dec 2007 00:04:37 +0000 (+0000) Subject: Meh, stupid bug in cl_gecko. Sorry about that :-( X-Git-Tag: xonotic-v0.1.0preview~2707 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d690ab6b7df060eb336a4408c4fd3de2852052cf;p=xonotic%2Fdarkplaces.git Meh, stupid bug in cl_gecko. Sorry about that :-( git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7783 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_gecko.c b/cl_gecko.c index 3d200dc0..22890211 100644 --- a/cl_gecko.c +++ b/cl_gecko.c @@ -396,12 +396,13 @@ qboolean CL_Gecko_Event_Key( clgecko_t *instance, int key, clgecko_buttoneventty break; case CLG_BET_PRESS: // hihi, hacky hacky - osgk_browser_event_key( instance->browser, mappedkey, meDown ); + osgk_browser_event_mouse_button( instance->browser, mappedbutton, meDown ); mappedtype = meUp; break; } - return osgk_browser_event_key( instance->browser, mappedkey, mappedtype ) != 0; + osgk_browser_event_mouse_button( instance->browser, mappedbutton, mappedtype ); + return true; } // TODO: error? return false;