home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / x / 14654 < prev    next >
Encoding:
Text File  |  1992-07-30  |  1.1 KB  |  26 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!gatech!news.ans.net!nynexst.com!rsilvers
  3. From: rsilvers@powwow.nynexst.com (Rob Silvers)
  4. Subject: Help!  Cannot move or resize windows by sending events.
  5. Message-ID: <1992Jul30.202924.17766@nynexst.com>
  6. Originator: rsilvers@powwow
  7. Sender: news@nynexst.com (For News purposes)
  8. Organization: Nynex Science and Technology
  9. Date: Thu, 30 Jul 92 20:29:24 GMT
  10. Lines: 14
  11.  
  12.  
  13.  
  14.  
  15.     I am writing a mouse driver that uses XWarpPointer to move the pointer
  16. and XSendEvent to send ButtonPress and ButtonRelease Events (to the lowest child
  17. window under the pointer).  It works for pushing MOTIF buttons, opening and closing
  18. windows, and even for drawing with the mouse in a drawing program.  When I try to
  19. move or resize a window with either olwm or twm it does not work.  For move in twm,
  20. it can usually move the window up and down, ans SOMETIMES left and right.  In olwm
  21. it cannot move them at all.  For resize, when I send a ButtonPress to the resize
  22. widget, it just freezes.  Am I supposed to be sending other events?  If so, to what window?
  23.  
  24.                         Thanks,
  25.                         --Rob.
  26.