diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/xf86Elo.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xf86Elo.c b/src/xf86Elo.c index d52c712..2a76849 100644 --- a/src/xf86Elo.c +++ b/src/xf86Elo.c @@ -723,6 +723,9 @@ xf86EloConvert(LocalDevicePtr local, DBG(3, ErrorF("EloConvert: Screen(%d) - v0(%d), v1(%d)\n", priv->screen_no, v0, v1)); + if (width == 0) width = 1; + if (height == 0) height = 1; + if (priv->swap_axes) { input_x = v1; input_y = v0; |