diff options
Diffstat (limited to 'src/radeon_cursor.c')
-rw-r--r-- | src/radeon_cursor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon_cursor.c b/src/radeon_cursor.c index 980b81f4..6fc681a9 100644 --- a/src/radeon_cursor.c +++ b/src/radeon_cursor.c @@ -232,6 +232,8 @@ radeon_crtc_set_cursor_position (xf86CrtcPtr crtc, int x, int y) if (!(cursor_end & 0x7f)) w--; } + if (w <= 0) + w = 1; } avivo_lock_cursor(crtc, TRUE); |