← easystroke

Remove some dead code

81a43660aabc4db1cadc834af58d80698163a36a · Thomas Jaeger · Oct 15, 2012 23:05

−3 · 1 file changed

  • handler.cc +0 −3
diff --git a/handler.cc b/handler.cc
index a41ffd7..3cbde1d 100644
--- a/handler.cc
+++ b/handler.cc
@@ -638,13 +638,10 @@ public:
 
 class ScrollHandler : public AbstractScrollHandler {
 	RModifiers mods;
-	std::map<guint, guint> map;
 	int orig_x, orig_y;
 	bool proximity;
 public:
 	ScrollHandler(RModifiers mods_) : mods(mods_) {
-		// If you want to use buttons > 9, you're on your own..
-		map[1] = 0; map[2] = 0; map[3] = 0; map[8] = 0; map[9] = 0;
 		proximity = xstate->in_proximity && prefs.proximity.get();
 	}
 	virtual void raw_motion(RTriple e, bool abs_x, bool abs_y) {