diff options
author | Jacek Antonelli | 2009-10-09 10:11:45 -0500 |
---|---|---|
committer | Jacek Antonelli | 2009-10-09 10:11:45 -0500 |
commit | bb657bd4244d0b1b80f368a30e40531f573d3c5f (patch) | |
tree | aef4e3c075ba760f48963d76c9300b6a8b323bf9 /linden/indra/newview/llviewerwindow.cpp | |
parent | Grid manager no longer appends "/" to URIs. (diff) | |
parent | Fixed money change notification happening after logout/login (diff) | |
download | meta-impy-bb657bd4244d0b1b80f368a30e40531f573d3c5f.zip meta-impy-bb657bd4244d0b1b80f368a30e40531f573d3c5f.tar.gz meta-impy-bb657bd4244d0b1b80f368a30e40531f573d3c5f.tar.bz2 meta-impy-bb657bd4244d0b1b80f368a30e40531f573d3c5f.tar.xz |
Merge remote branch 'mccabe/next' into next
Diffstat (limited to 'linden/indra/newview/llviewerwindow.cpp')
-rw-r--r-- | linden/indra/newview/llviewerwindow.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewerwindow.cpp b/linden/indra/newview/llviewerwindow.cpp index 99bbb2a..df10b4f 100644 --- a/linden/indra/newview/llviewerwindow.cpp +++ b/linden/indra/newview/llviewerwindow.cpp | |||
@@ -596,7 +596,14 @@ BOOL LLViewerWindow::handleAnyMouseClick(LLWindow *window, LLCoordGL pos, MASK | |||
596 | } | 596 | } |
597 | 597 | ||
598 | // Make sure we get a coresponding mouseup event, even if the mouse leaves the window | 598 | // Make sure we get a coresponding mouseup event, even if the mouse leaves the window |
599 | mWindow->captureMouse(); | 599 | if (down) |
600 | { | ||
601 | mWindow->captureMouse(); | ||
602 | } | ||
603 | else | ||
604 | { | ||
605 | mWindow->releaseMouse(); | ||
606 | } | ||
600 | 607 | ||
601 | // Indicate mouse was active | 608 | // Indicate mouse was active |
602 | gMouseIdleTimer.reset(); | 609 | gMouseIdleTimer.reset(); |