Move zoomer into SampleApp
git-svn-id: http://skia.googlecode.com/svn/trunk@1002 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/unix_test_app/main.cpp b/unix_test_app/main.cpp
index deb95bc..ef8f214 100644
--- a/unix_test_app/main.cpp
+++ b/unix_test_app/main.cpp
@@ -96,10 +96,7 @@
window->handleClick(evt.xbutton.x, evt.xbutton.y, SkView::Click::kUp_State);
break;
case MotionNotify:
- // FIXME: 272 corresponds to the left mouse button, but should be a constant.
- if (evt.xmotion.state == 272)
- window->handleClick(evt.xmotion.x, evt.xmotion.y, SkView::Click::kMoved_State);
- window->updatePointer(evt.xmotion.x, evt.xmotion.y);
+ window->handleClick(evt.xmotion.x, evt.xmotion.y, SkView::Click::kMoved_State);
break;
case KeyPress:
{