Commit 509ea361 authored by claes's avatar claes

Objects behind menu was affected by mb1down event

parent 4d5f87cc
/*
* Proview $Id: glow_growmenu.cpp,v 1.12 2007-05-07 14:35:03 claes Exp $
* Proview $Id: glow_growmenu.cpp,v 1.13 2008-01-24 09:30:56 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -425,6 +425,10 @@ int GrowMenu::event_handler( GlowWind *w, glow_eEvent event, int x, int y, doubl
break;
}
case glow_eEvent_MB1Down:
sts = local_event_handler( w, event, rx, ry);
if ( sts)
// Remove any previous hit
ctx->register_callback_object( glow_eObjectType_NoObject, 0);
ctx->gdraw->set_click_sensitivity( w, glow_mSensitivity_MB1Click);
break;
case glow_eEvent_MB1Click: {
......
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