summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/widget/native_widget_gtk.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/views/widget/native_widget_gtk.cc b/views/widget/native_widget_gtk.cc
index d9cd0dd..1fcf0af 100644
--- a/views/widget/native_widget_gtk.cc
+++ b/views/widget/native_widget_gtk.cc
@@ -1331,9 +1331,7 @@ void NativeWidgetGtk::SchedulePaintInRect(const gfx::Rect& rect) {
void NativeWidgetGtk::SetCursor(gfx::NativeCursor cursor) {
#if defined(TOUCH_UI)
- if (ui::TouchFactory::GetInstance()->keep_mouse_cursor())
- cursor = gfx::GetCursor(GDK_ARROW);
- else if (!ui::TouchFactory::GetInstance()->is_cursor_visible())
+ if (!ui::TouchFactory::GetInstance()->is_cursor_visible())
cursor = gfx::GetCursor(GDK_BLANK_CURSOR);
#endif
// |window_contents_| is placed on top of |widget_|. So the cursor needs to be