From: Benjamin H. <be...@ke...> - 2004-02-10 10:39:07
|
diff -urN fbdev-2.5/drivers/video/softcursor.c linuxppc-2.5-benh/drivers/video/softcursor.c --- fbdev-2.5/drivers/video/softcursor.c 2004-02-10 21:15:18.000000000 +1100 +++ linuxppc-2.5-benh/drivers/video/softcursor.c 2004-02-10 21:06:24.000000000 +1100 @@ -62,7 +62,10 @@ if (cursor->set & FB_CUR_SETSHAPE) fb_load_cursor_image(info); - + + if (info->state != FBINFO_STATE_RUNNING) + return 0; + if (!cursor->enable || (info->cursor.enable && (cursor->set & FB_CUR_SETPOS))) { if (needsync && info->fbops->fb_sync) { info->fbops->fb_sync(info); |