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:
committed by
Adrien Destugues
parent
015d6c1306
commit
42b9734805
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user