debug code for myself
git-svn-id: svn://10.0.0.236/trunk@69629 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
62cfa242f1
commit
60e950168b
@ -1404,6 +1404,14 @@ NS_IMETHODIMP nsViewManager2::DispatchEvent(nsGUIEvent *aEvent, nsEventStatus *a
|
||||
|
||||
NS_IMETHODIMP nsViewManager2::GrabMouseEvents(nsIView *aView, PRBool &aResult)
|
||||
{
|
||||
#ifdef DEBUG_mjudge
|
||||
if (aView)
|
||||
{
|
||||
printf("capturing mouse events for view %x\n",aView);
|
||||
}
|
||||
printf("removing mouse capture from view %x\n",mMouseGrabber);
|
||||
#endif
|
||||
|
||||
mMouseGrabber = aView;
|
||||
aResult = PR_TRUE;
|
||||
return NS_OK;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user