From: Antonino A. D. <ad...@ho...> - 2004-10-29 01:59:42
|
Check if cursor image has changed in intelfb Signed-off-by: Antonino Daplas <ad...@po...> --- intelfbdrv.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -Nru a/drivers/video/intelfb/intelfbdrv.c b/drivers/video/intelfb/intelfbdrv.c --- a/drivers/video/intelfb/intelfbdrv.c 2004-10-28 20:56:42 +08:00 +++ b/drivers/video/intelfb/intelfbdrv.c 2004-10-29 09:34:24 +08:00 @@ -1573,7 +1573,7 @@ intelfbhw_cursor_setcolor(dinfo, bg, fg); } - if (cursor->set & FB_CUR_SETSHAPE) { + if (cursor->set & (FB_CUR_SETSHAPE & FB_CUR_SETIMAGE)) { u32 s_pitch = (ROUND_UP_TO(cursor->image.width, 8) / 8); u32 size = s_pitch * cursor->image.height; u8 *dat = (u8 *) cursor->image.data; |