diff --git a/indra/llui/llui.cpp b/indra/llui/llui.cpp
index e9f8ba020e674c5bfcca6ec74f3b8f5ad64d868e..a1b31fd5cc7d2b5ce4b209535ace3473527a8d03 100644
--- a/indra/llui/llui.cpp
+++ b/indra/llui/llui.cpp
@@ -237,13 +237,9 @@ void LLUI::dirtyRect(LLRect rect)
 void LLUI::setMousePositionScreen(S32 x, S32 y)
 {
 	S32 screen_x, screen_y;
-#if defined(LL_DARWIN)
-    screen_x = ll_round((F32)x);
-    screen_y = ll_round((F32)y);
-#else
 	screen_x = ll_round((F32)x * getScaleFactor().mV[VX]);
 	screen_y = ll_round((F32)y * getScaleFactor().mV[VY]);
-#endif
+
 	LLView::getWindow()->setCursorPosition(LLCoordGL(screen_x, screen_y).convert());
 }