X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fbcwindowbase.C;h=9f3e2123c843c7e0f336ae1d4c53105b03b04a71;hp=87148812489889c2d97640af4217eb8c51270e39;hb=98d1bfa28f082b49eddf01f583e0af16d3a28ba4;hpb=9303c74f396d12f0fb48639ff6a835824cbc5987 diff --git a/cinelerra-5.1/guicast/bcwindowbase.C b/cinelerra-5.1/guicast/bcwindowbase.C index 87148812..9f3e2123 100644 --- a/cinelerra-5.1/guicast/bcwindowbase.C +++ b/cinelerra-5.1/guicast/bcwindowbase.C @@ -963,6 +963,7 @@ if( debug && event->type != ClientMessage ) { if( active_grab ) { grab_lock->lock("BC_WindowBase::dispatch_event 3"); unlock_window(); + result = 0; if( active_grab ) { active_grab->lock_window("BC_WindowBase::dispatch_event 3"); result = active_grab->grab_event(event);