* [PATCH 14/15] fbdev: Check if cursor image has changed in intelfb
@ 2004-10-29 1:58 Antonino A. Daplas
0 siblings, 0 replies; only message in thread
From: Antonino A. Daplas @ 2004-10-29 1:58 UTC (permalink / raw)
To: Andrew Morton; +Cc: Linux Fbdev development list, Sylvain Meyer
Check if cursor image has changed in intelfb
Signed-off-by: Antonino Daplas <adaplas@pol.net>
---
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;
-------------------------------------------------------
This Newsletter Sponsored by: Macrovision
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-10-29 1:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-29 1:58 [PATCH 14/15] fbdev: Check if cursor image has changed in intelfb Antonino A. Daplas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).