Changeset 3787


Ignore:
Timestamp:
10/28/11 19:04:26 (2 years ago)
Author:
prock
Message:
  • This fixes a condition where if a widget is dragged to an area on the screen where there is no widget the event gets lost. It also prevents the focus from being dropped. fixes[t:594]
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/engine/core/gui/guichan/guichanmanager.cpp

    r3737 r3787  
    101101                        case SDL_MOUSEBUTTONDOWN: 
    102102                        case SDL_MOUSEBUTTONUP: 
     103                                m_input->pushInput(evt); 
     104 
    103105                                if( m_gcn_topcontainer->getWidgetAt(evt.button.x,evt.button.y) ) { 
    104                                         m_input->pushInput(evt); 
    105106                                        return true; 
    106107                                } 
    107                                 m_focushandler->focusNone(); 
    108108                                return false; 
    109109 
Note: See TracChangeset for help on using the changeset viewer.