aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llresizebar.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:42 -0500
committerJacek Antonelli2008-08-15 23:45:42 -0500
commitce28e056c20bf2723f565bbf464b87781ec248a2 (patch)
treeef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/llui/llresizebar.cpp
parentSecond Life viewer sources 1.19.1.4b (diff)
downloadmeta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz
Second Life viewer sources 1.20.2
Diffstat (limited to 'linden/indra/llui/llresizebar.cpp')
-rw-r--r--linden/indra/llui/llresizebar.cpp15
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
86BOOL LLResizeBar::handleMouseDown(S32 x, S32 y, MASK mask) 86BOOL 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}