diff --git a/lib/widget/widget-common.c b/lib/widget/widget-common.c index d1af4a9de..506a61ed6 100644 --- a/lib/widget/widget-common.c +++ b/lib/widget/widget-common.c @@ -359,7 +359,9 @@ mouse_get_local (const Gpm_Event * global, const Widget * w) Gpm_Event local; local.buttons = global->buttons; +#ifdef HAVE_LIBGPM local.modifiers = 0; +#endif local.x = global->x - w->x; local.y = global->y - w->y; local.type = global->type;