From bd8393387fc5f6accc9f912999ffc0c817eec88d Mon Sep 17 00:00:00 2001 From: Edouard Gomez <> Date: Wed, 13 Dec 2006 08:51:01 +0000 Subject: [PATCH] Feedback from Karl H. Beckers about mouse cursor (patch by Edouard Gomez) Originally committed as revision 7309 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/x11grab.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libavformat/x11grab.c b/libavformat/x11grab.c index 1ad9014..b9393e6 100644 --- a/libavformat/x11grab.c +++ b/libavformat/x11grab.c @@ -298,19 +298,19 @@ paint_mouse_pointer(XImage *image, x11_grab_t *s, int x, int y) /* 16x20x1bpp bitmap for the black channel of the mouse pointer */ static const uint16_t const mousePointerBlack[] = { - 0x0000, 0xc000, 0xa000, 0x9000, 0x8800, - 0x8400, 0x8200, 0x8100, 0x8080, 0x8040, - 0x83c0, 0x9200, 0xa900, 0xc900, 0x0480, - 0x0480, 0x0240, 0x0240, 0x01c0, 0x0000 + 0x0000, 0x0003, 0x0005, 0x0009, 0x0011, + 0x0021, 0x0041, 0x0081, 0x0101, 0x0201, + 0x03c1, 0x0049, 0x0095, 0x0093, 0x0120, + 0x0120, 0x0240, 0x0240, 0x0380, 0x0000 }; /* 16x20x1bpp bitmap for the white channel of the mouse pointer */ static const uint16_t const mousePointerWhite[] = { - 0x0000, 0x0000, 0x4000, 0x6000, 0x7000, - 0x7800, 0x7c00, 0x7e00, 0x7f00, 0x7f80, - 0x7c00, 0x6c00, 0x4600, 0x0600, 0x0300, - 0x0300, 0x0180, 0x0180, 0x0000, 0x0000 + 0x0000, 0x0000, 0x0002, 0x0006, 0x000e, + 0x001e, 0x003e, 0x007e, 0x00fe, 0x01fe, + 0x003e, 0x0036, 0x0062, 0x0060, 0x00c0, + 0x00c0, 0x0180, 0x0180, 0x0000, 0x0000 }; int x_off = s->x_off; -- 2.7.4