home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume10 / x10r4.sunpch / part02 / X / changes / input.c.patch next >
Text File  |  1987-07-14  |  922b  |  46 lines

  1. *** /usr/src/new/X.V10R4/X/input.c    Wed Dec 17 20:26:02 1986
  2. --- input.c    Mon Jun  8 14:28:45 1987
  3. ***************
  4. *** 13,19 ****
  5.    */
  6.   
  7.   #ifndef lint
  8. ! static char *rcsid_input_c = "$Header: input.c,v 10.12 86/12/17 20:25:13 swick Exp $";
  9.   #endif
  10.   
  11.   
  12. --- 13,19 ----
  13.    */
  14.   
  15.   #ifndef lint
  16. ! static char *rcsid_input_c = "$Header: input.c,v 10.13 87/05/02 14:33:39 mayer Exp $";
  17.   #endif
  18.   
  19.   
  20. ***************
  21. *** 532,539 ****
  22.           return;
  23.       }
  24.       ocurs = cursor;
  25. !     deltax = ocurs->xoff - curs->xoff;
  26. !     deltay = ocurs->yoff - curs->yoff;
  27.       button_window = NULL;
  28.       if (mouse_grabber == 0) {
  29.           Stash_grabs (client);
  30. --- 532,546 ----
  31.           return;
  32.       }
  33.       ocurs = cursor;
  34. !     if (ocurs == NULL)
  35. !     {
  36. !         deltax = deltay = 0;
  37. !     }
  38. !     else
  39. !     {
  40. !         deltax = ocurs->xoff - curs->xoff;
  41. !         deltay = ocurs->yoff - curs->yoff;
  42. !     }
  43.       button_window = NULL;
  44.       if (mouse_grabber == 0) {
  45.           Stash_grabs (client);
  46.