]> git.pld-linux.org Git - packages/allegro-gl.git/blob - allegro-gl-mouse.patch
- fix libpthread check
[packages/allegro-gl.git] / allegro-gl-mouse.patch
1 --- alleggl/src/gui.c.orig      2007-05-15 14:57:40.000000000 +0200
2 +++ alleggl/src/gui.c   2007-06-17 20:22:51.754820163 +0200
3 @@ -189,7 +189,7 @@
4         AGL_LOG(2, "allegro_gl_draw_mouse\n");
5  
6         /* don't draw the mouse if it's not in our window */
7 -       if (!_mouse_on || allegro_gl_mouse.hidden) return;
8 +       if (allegro_gl_mouse.hidden) return;
9  
10         if (__algl_user_draw_mouse) {
11  
12 --- alleggl/src/x.c.orig        2007-02-16 12:18:24.000000000 +0100
13 +++ alleggl/src/x.c     2007-06-17 20:43:28.201281231 +0200
14 @@ -186,11 +186,6 @@
15                 _xwin.cursor = None;
16         }
17  
18 -       if (_xwin.xcursor_image != None) {
19 -               XcursorImageDestroy(_xwin.xcursor_image);
20 -               _xwin.xcursor_image = None;
21 -       }
22 -
23         pixmap = XCreatePixmap(_xwin.display, _xwin.window, 1, 1, 1);
24         if (pixmap != None) {
25                 GC temp_gc;
26 @@ -211,7 +206,7 @@
27                 XFreePixmap(_xwin.display, pixmap);
28         }
29         else {
30 -               _xwin.cursor = XCreateFontCursor(_xwin.display, _xwin.cursor_shape);
31 +               _xwin.cursor = XCreateFontCursor(_xwin.display, 0 /* ??? */);
32                 XDefineCursor(_xwin.display, _xwin.window, _xwin.cursor);
33         }
34  }
35 @@ -1298,7 +1293,7 @@
36                         XFreePixmap(_xwin.display, pixmap);
37                 }
38                 else {
39 -                       _xwin.cursor = XCreateFontCursor(_xwin.display, _xwin.cursor_shape);
40 +                       _xwin.cursor = XCreateFontCursor(_xwin.display, 0 /* ??? */);
41                         XDefineCursor(_xwin.display, _xwin.window, _xwin.cursor);
42                 }
43         }
This page took 0.498772 seconds and 3 git commands to generate.