small fix for focus follows mouse users

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5221 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol
2003-10-31 20:10:06 +00:00
parent b7c866b485
commit b5903e59f8
+2
View File
@@ -49,6 +49,8 @@ VolumeSlider::VolumeSlider(BRect frame, bool dontBeep, int32 volumeWhich)
if (screenFrame.top > windowRect.top - kMargin)
MoveBy(0, kMargin + screenFrame.top - windowRect.top);
SetFeel(B_MODAL_APP_WINDOW_FEEL); /* avoid gettign it under Deskbar sometimes with FocusFollowsMouse */
float value = 0.0;
bool retrying = false;
this->dontBeep = dontBeep;