X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fbcwindowbase.C;h=421a26fe7663e2470aba2f52d0265fb15c0560e4;hb=02a79c110b1bce1d500849c82b2098863cd60424;hp=d7440bde39000d7499153dada1e0dbbda26fcb4e;hpb=09415d6aba2e181c49863393a047d0947c969d21;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/guicast/bcwindowbase.C b/cinelerra-5.1/guicast/bcwindowbase.C index d7440bde..421a26fe 100644 --- a/cinelerra-5.1/guicast/bcwindowbase.C +++ b/cinelerra-5.1/guicast/bcwindowbase.C @@ -997,7 +997,7 @@ locking_message = event->xclient.message_type; done = 1; } else { // We currently use X marshalling for xatom events, we can switch to something else later - recieve_custom_xatoms((xatom_event *)ptr); + receive_custom_xatoms((xatom_event *)ptr); } break; @@ -1338,6 +1338,7 @@ locking_message = event->xclient.message_type; break; case LeaveNotify: + if( event->xcrossing.mode != NotifyNormal ) break; if( cursor_entered && event->xcrossing.window == win ) { cursor_entered = 0; } @@ -1346,6 +1347,7 @@ locking_message = event->xclient.message_type; break; case EnterNotify: + if( event->xcrossing.mode != NotifyNormal ) break; if( !cursor_entered && event->xcrossing.window == win ) { if( !event->xcrossing.focus && get_resources()->grab_input_focus ) { XSetInputFocus(display, win, RevertToParent, CurrentTime); @@ -1978,7 +1980,7 @@ int BC_WindowBase::arm_repeat(int64_t duration) } #endif -int BC_WindowBase::recieve_custom_xatoms(xatom_event *event) +int BC_WindowBase::receive_custom_xatoms(xatom_event *event) { return 0; }