Re: finding all windows belonging to an application

2004-11-09 Thread Grant Wallace
Yes, I see the pattern you mention in XID. Appears
that the most significant two bytes identify client
and the least sig two bytes identify window. This
should solve my problem. Thanks very much.

Grant.

--- Mark Vojkovich [EMAIL PROTECTED] wrote:

 
All the resources allocated by a single client
 will have the
 same XID prefix.  Look at the output of xwininfo
 -children -root
 and you'll see what I mean.   What you probably want
 to do is search
 from the root and find the all the top-level windows
 with your
 client's prefix.
 
 
   Mark.
 
 
 On Mon, 8 Nov 2004, Grant Wallace wrote:
 
  Hi,
I'm working on modifications to VNC server to
 share
  individual applications. One thing I'm wondering
 about
  is how do I find all windows which belong to the
 same
  application. For instance I currently am able to
 share
  the application's main window by using xwininfo
 and
  getting the main windows ID number. Then I just
  traverse the windows tree searching for that id.
  However if the application later opens a dialog
 box or
  a menu window I'd like to detect that while
 traversing
  the windows tree and share it also. I haven't yet
  found any field within the window data structure
 that
  identifies which application a window belongs to.
  What's the best way to find all these related
 windows
  (related by application rather than window
 hierarchy)?
 
  Thanks,
  Grant.
 
 
 
 
 
  __
  Do you Yahoo!?
  Check out the new Yahoo! Front Page.
  www.yahoo.com
 
 
  ___
  Devel mailing list
  [EMAIL PROTECTED]
  http://XFree86.Org/mailman/listinfo/devel
 
 




__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


finding all windows belonging to an application

2004-11-08 Thread Grant Wallace
Hi,
  I'm working on modifications to VNC server to share
individual applications. One thing I'm wondering about
is how do I find all windows which belong to the same
application. For instance I currently am able to share
the application's main window by using xwininfo and
getting the main windows ID number. Then I just
traverse the windows tree searching for that id.
However if the application later opens a dialog box or
a menu window I'd like to detect that while traversing
the windows tree and share it also. I haven't yet
found any field within the window data structure that
identifies which application a window belongs to.
What's the best way to find all these related windows
(related by application rather than window hierarchy)?

Thanks,
Grant.





__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: How to render multiple cursors?

2003-10-15 Thread Grant Wallace
--- Kieran O'Sullivan [EMAIL PROTECTED]
wrote:
 Why would you want more than one pointer? and more
 importantly how would
 it be used?  I wonder if you are not making life
 more difficult than it
 needs to be.  Actually the more I think about the
 more I really want to
 know the answer to thoes two questions.
 ___
 Devel mailing list
 [EMAIL PROTECTED]
 http://XFree86.Org/mailman/listinfo/devel

Our motivation for having multiple pointers is that we
are building large displays (20+ feet) for
collaboration. Displays this size may sometimes be
used by multiple people simultaneously either on
related or unrelated task. So we would like to provide
each person with a cursor and the ability to start or
migrate applications to the shared display. Initially
we just want to support mulitple people working
simultaneously on different applications.

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


How to render multiple cursors?

2003-10-08 Thread Grant Wallace
I earlier had a question regarding how to support
multiple pointers. One reply to that was to write a
Window Manager to handle this. I can see how the
window manager can handle moving windows
simultaneously and redirecting input to windows
simultaneously. But I'm wondering how would one render
multiple cursors from the window manager. It seems if
it was just drawn on the root window then other
windows would obscure it. Is there a way to draw a top
level window that is transparent? Or is there some
other trick to getting multiple cursors rendered that
will always be on top?

Thanks,
Grant.

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


mulitple pointers

2003-10-07 Thread Grant Wallace
Hi,
Earlier this year there was a mail thread about
multiple pointers. I'm wondering if there is any new
information on this topic. 

We would like to have a collaborative desktop on a
display wall where multiple people can work
simultaneously. In particular it would be nice to have
multiple top level windows (one per cursor) where that
cusror's keyboard and mouse events are sent.

Earlier it was suggested that this should be handled
by the collaborative software. But in our case we'd
rather not write specific software, but rather let
people run their current applications unmodified on
the desktop.

Are there any extensions or suggestions on how to
develop a scenario like this?

Thanks,
Grant.

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel