diff options
-rw-r--r-- | src/ws.c | 3 | ||||
-rw-r--r-- | src/ws.h | 1 |
2 files changed, 0 insertions, 4 deletions
@@ -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, @@ -44,7 +44,6 @@ typedef struct WSDevice { int swap_axes; int raw; int inv_x, inv_y; - int screen_width, screen_height; int screen_no; int num, den, threshold; /* relative accel params */ pointer buffer; |