summaryrefslogtreecommitdiff
path: root/libavformat/x11grab.c
diff options
context:
space:
mode:
authorGuillaume Poirier <gpoirier@mplayerhq.hu>2006-12-12 22:32:14 +0000
committerGuillaume Poirier <gpoirier@mplayerhq.hu>2006-12-12 22:32:14 +0000
commit77e5024c1cae62996ada908750b5155db03d06bb (patch)
treecfd7e4a76dc9f061b97234d5b5b810cde22b39a8 /libavformat/x11grab.c
parentbfac8d3ae7dded9c005e7893b2e83bca5ee557ad (diff)
Feedback from Karl H. Beckers about mouse cursor
Reverse direction of the mouse cursor pointer Originally committed as revision 7300 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/x11grab.c')
-rw-r--r--libavformat/x11grab.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libavformat/x11grab.c b/libavformat/x11grab.c
index ffcf05544b..ecc8c04ef1 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;