From 741a52763fad907ed3789043246fcb7cfdfb27c3 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Sun, 10 Jan 2010 16:33:44 +0000 Subject: Remove unused screen_width and screen_height fields from driver private data. --- src/ws.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/ws.c') diff --git a/src/ws.c b/src/ws.c index 5922d93..9072fff 100644 --- a/src/ws.c +++ b/src/ws.c @@ -392,9 +392,6 @@ wsDeviceInit(DeviceIntPtr pWS) btn_labels[1] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_MIDDLE); btn_labels[2] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_RIGHT); #endif - priv->screen_width = screenInfo.screens[priv->screen_no]->width; - priv->screen_height = screenInfo.screens[priv->screen_no]->height; - for (i = 0; i < NBUTTONS; i++) map[i + 1] = i + 1; if (!InitButtonClassDeviceStruct(pWS, -- cgit v1.2.3