~ubuntu-branches/ubuntu/lucid/libx11/lucid

« back to all changes in this revision

Viewing changes to src/CrCursor.c

  • Committer: Bazaar Package Importer
  • Author(s): Timo Aaltonen
  • Date: 2009-01-17 16:34:54 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20090117163454-gaey3cd32xyavueo
Tags: 2:1.1.99.2-1build1
Fakesync with Debian, all previous Ubuntu changes are included
in the new upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
                        unsigned int    x,
42
42
                        unsigned int    y);
43
43
#endif
44
 
    
 
44
 
45
45
Cursor XCreatePixmapCursor(
46
46
     register Display *dpy,
47
47
     Pixmap source,
48
48
     Pixmap mask,
49
 
     XColor *foreground, 
 
49
     XColor *foreground,
50
50
     XColor *background,
51
51
     unsigned int x,
52
52
     unsigned int y)
53
53
 
54
 
{       
 
54
{
55
55
    register xCreateCursorReq *req;
56
56
    Cursor cid;
57
57
 
58
58
#ifdef USE_DYNAMIC_XCURSOR
59
 
    cid = _XTryShapeBitmapCursor (dpy, source, mask, 
 
59
    cid = _XTryShapeBitmapCursor (dpy, source, mask,
60
60
                                  foreground, background, x, y);
61
61
    if (cid)
62
62
        return cid;