Re: Using XGrabPointer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 27 Jun 2000, Dallas Glidewell wrote:

I believe that if you use XGrabPointer all other windows
will stop receiving mouse events. I think thats not what
you want.. Why do you need to check for mouse events in other
windows? 

--
Alfredo

> Correct me if I am wrong but to my understanding,
> Java.awt or javax.swing can only listen to mouse
> events for a particular window, when I actaully need
> to listen to mouse events which could be for all
> windows or no windows on the screen at all.
> 
> Dallas
> --- Dave Mielke <dave@xxxxxxxxx> wrote:
> > [quoted lines by Dallas Glidewell on June 26, 2000,
> > at 12:30]
> > 
> > >I have a need to determine when the mouse is moved
> > on
> > >a Linux system.  Ultimately, my Java program will
> > call
> > >a C program that can determine and notify Java when
> > >the mouse pointer has been moved.  
> > 
> > Then why don't you use the Java.awt or javax.swing
> > classes and listen for mouse
> > motion events?
> > 
> > -- 
> > Dave Mielke           | 856 Grenon Avenue | I
> > believe that the Bible is the
> > Phone: 1-613-726-0014 | Ottawa, Ontario   | Word of
> > God. Please contact me
> > EMail: dave@xxxxxxxxx | Canada  K2B 6G3   | if
> > you're concerned about Hell.
> > 
> > 
> > -- 
> >          To unsubscribe: mail
> > blinux-develop-request@xxxxxxxxxx with 
> >                        "unsubscribe" as the Subject.
> > 
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/
> 
> 
> -- 
>          To unsubscribe: mail blinux-develop-request@xxxxxxxxxx with 
>                        "unsubscribe" as the Subject.
> 
> 



[Index of Archives]     [Linux for the Blind]     [Fedora]     [Kernel List]     [Red Hat Install]     [Red Hat Watch List]     [Red Hat Development]     [Gimp]     [Yosemite News]     [Big List of Linux Books]