diff options
-rw-r--r-- | linden/indra/newview/llviewerwindow.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/linden/indra/newview/llviewerwindow.cpp b/linden/indra/newview/llviewerwindow.cpp index 4ef01f3..f8953c0 100644 --- a/linden/indra/newview/llviewerwindow.cpp +++ b/linden/indra/newview/llviewerwindow.cpp | |||
@@ -633,7 +633,7 @@ BOOL LLViewerWindow::handleAnyMouseClick(LLWindow *window, LLCoordGL pos, MASK | |||
633 | } | 633 | } |
634 | 634 | ||
635 | if (gDebugClicks) | 635 | if (gDebugClicks) |
636 | { | 636 | { |
637 | llinfos << "ViewerWindow " << buttonname << " mouse " << buttonstatestr << " at " << x << "," << y << llendl; | 637 | llinfos << "ViewerWindow " << buttonname << " mouse " << buttonstatestr << " at " << x << "," << y << llendl; |
638 | } | 638 | } |
639 | 639 | ||
@@ -651,7 +651,11 @@ BOOL LLViewerWindow::handleAnyMouseClick(LLWindow *window, LLCoordGL pos, MASK | |||
651 | gMouseIdleTimer.reset(); | 651 | gMouseIdleTimer.reset(); |
652 | 652 | ||
653 | // Hide tooltips on mousedown | 653 | // Hide tooltips on mousedown |
654 | mToolTipBlocked = down; | 654 | if (down) |
655 | { | ||
656 | mToolTipBlocked = TRUE; | ||
657 | mToolTip->setVisible(FALSE); | ||
658 | } | ||
655 | 659 | ||
656 | // Also hide hover info on mousedown/mouseup | 660 | // Also hide hover info on mousedown/mouseup |
657 | if (gHoverView) | 661 | if (gHoverView) |
@@ -783,6 +787,8 @@ BOOL LLViewerWindow::handleRightMouseDown(LLWindow *window, LLCoordGL pos, MASK | |||
783 | x = llround((F32)x / mDisplayScale.mV[VX]); | 787 | x = llround((F32)x / mDisplayScale.mV[VX]); |
784 | y = llround((F32)y / mDisplayScale.mV[VY]); | 788 | y = llround((F32)y / mDisplayScale.mV[VY]); |
785 | 789 | ||
790 | LLView::sMouseHandlerMessage.clear(); | ||
791 | |||
786 | BOOL down = TRUE; | 792 | BOOL down = TRUE; |
787 | BOOL handle = handleAnyMouseClick(window,pos,mask,LLMouseHandler::CLICK_RIGHT,down); | 793 | BOOL handle = handleAnyMouseClick(window,pos,mask,LLMouseHandler::CLICK_RIGHT,down); |
788 | if (handle) | 794 | if (handle) |