Fixed a TODO
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13205 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -686,8 +686,8 @@ set_mouse_mode(mode_mouse mode)
|
|||||||
_IMPEXP_BE mode_mouse
|
_IMPEXP_BE mode_mouse
|
||||||
mouse_mode()
|
mouse_mode()
|
||||||
{
|
{
|
||||||
// ToDo: what is mouse_mode? Get a default value over here now! :-)
|
// Gets the focus-follows-mouse style, such as normal, B_WARP_MOUSE, etc.
|
||||||
mode_mouse mode;
|
mode_mouse mode = B_NORMAL_MOUSE;
|
||||||
|
|
||||||
BPrivate::AppServerLink link;
|
BPrivate::AppServerLink link;
|
||||||
link.StartMessage(AS_GET_MOUSE_MODE);
|
link.StartMessage(AS_GET_MOUSE_MODE);
|
||||||
@@ -695,7 +695,7 @@ mouse_mode()
|
|||||||
int32 code;
|
int32 code;
|
||||||
if (link.FlushWithReply(code) == B_OK && code == SERVER_TRUE)
|
if (link.FlushWithReply(code) == B_OK && code == SERVER_TRUE)
|
||||||
link.Read<mode_mouse>(&mode);
|
link.Read<mode_mouse>(&mode);
|
||||||
|
|
||||||
return mode;
|
return mode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user