Set normal mouse mode on set_focus_follows_mouse(false)

Change-Id: Iae4300d7da5ada391c2d2dccff2b7de7f1b38245
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3509
Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
Máximo Castañeda
2020-12-21 14:29:15 +00:00
committed by Adrien Destugues
parent 015d6c1306
commit 42b9734805
+1 -1
View File
@@ -995,7 +995,7 @@ void
set_focus_follows_mouse(bool follow)
{
// obviously deprecated API
set_mouse_mode(B_FOCUS_FOLLOWS_MOUSE);
set_mouse_mode(follow ? B_FOCUS_FOLLOWS_MOUSE : B_NORMAL_MOUSE);
}