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

« back to all changes in this revision

Viewing changes to src/TrCoords.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:
33
33
 
34
34
Bool XTranslateCoordinates(
35
35
     register Display *dpy,
36
 
     Window src_win, 
 
36
     Window src_win,
37
37
     Window dest_win,
38
38
     int src_x,
39
39
     int src_y,
40
40
     int *dst_x,
41
41
     int *dst_y,
42
42
     Window *child)
43
 
{       
 
43
{
44
44
    register xTranslateCoordsReq *req;
45
45
    xTranslateCoordsReply rep;
46
46
 
55
55
            SyncHandle();
56
56
            return(False);
57
57
        }
58
 
        
 
58
 
59
59
    *child = rep.child;
60
60
    *dst_x = cvtINT16toInt (rep.dstX);
61
61
    *dst_y = cvtINT16toInt (rep.dstY);