diff options
Diffstat (limited to 'linden/indra/llui/llresizebar.cpp')
-rw-r--r-- | linden/indra/llui/llresizebar.cpp | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/linden/indra/llui/llresizebar.cpp b/linden/indra/llui/llresizebar.cpp index b4933bd..e89bfee 100644 --- a/linden/indra/llui/llresizebar.cpp +++ b/linden/indra/llui/llresizebar.cpp | |||
@@ -85,16 +85,13 @@ LLResizeBar::LLResizeBar( const LLString& name, LLView* resizing_view, const LLR | |||
85 | 85 | ||
86 | BOOL LLResizeBar::handleMouseDown(S32 x, S32 y, MASK mask) | 86 | BOOL LLResizeBar::handleMouseDown(S32 x, S32 y, MASK mask) |
87 | { | 87 | { |
88 | if( getEnabled() ) | 88 | // Route future Mouse messages here preemptively. (Release on mouse up.) |
89 | { | 89 | // No handler needed for focus lost since this clas has no state that depends on it. |
90 | // Route future Mouse messages here preemptively. (Release on mouse up.) | 90 | gFocusMgr.setMouseCapture( this ); |
91 | // No handler needed for focus lost since this clas has no state that depends on it. | ||
92 | gFocusMgr.setMouseCapture( this ); | ||
93 | 91 | ||
94 | localPointToScreen(x, y, &mDragLastScreenX, &mDragLastScreenY); | 92 | localPointToScreen(x, y, &mDragLastScreenX, &mDragLastScreenY); |
95 | mLastMouseScreenX = mDragLastScreenX; | 93 | mLastMouseScreenX = mDragLastScreenX; |
96 | mLastMouseScreenY = mDragLastScreenY; | 94 | mLastMouseScreenY = mDragLastScreenY; |
97 | } | ||
98 | 95 | ||
99 | return TRUE; | 96 | return TRUE; |
100 | } | 97 | } |