diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2010-01-10 16:33:45 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2010-01-10 16:33:45 +0000 |
commit | 225b8c666788f356d2311363a92ea8aa6d399b08 (patch) | |
tree | 674e34d00c6b31f2adaa3a197c4032cc39bc3962 /driver/xf86-input-ws/src/ws.c | |
parent | 89d36c87099dd4b6a78c594793346eadec7a6e4d (diff) |
Remove unused screen_width and screen_height fields from
driver private data.
Diffstat (limited to 'driver/xf86-input-ws/src/ws.c')
-rw-r--r-- | driver/xf86-input-ws/src/ws.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/driver/xf86-input-ws/src/ws.c b/driver/xf86-input-ws/src/ws.c index 4b9e42d9e..cf6200948 100644 --- a/driver/xf86-input-ws/src/ws.c +++ b/driver/xf86-input-ws/src/ws.c @@ -13,7 +13,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $OpenBSD: ws.c,v 1.30 2010/01/10 15:22:47 matthieu Exp $ */ +/* $OpenBSD: ws.c,v 1.31 2010/01/10 16:33:44 matthieu Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -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, |