Re: GUI-unfriendliness (was Re: [vox-tech] "bring to front" X-window command)

2004-10-04 Thread Richard Harke
I have worked a little with VTK and I know that it is built on OpenGL VTK gives you a couple of options. The default is that VTK just creates a single window for the 3D display and the actions of the mouse are predetermined, rotate, pan and zoom> If you want to have more elaborate control you can

Re: GUI-unfriendliness (was Re: [vox-tech] "bring to front" X-window command)

2004-10-04 Thread Jeff Newmiller
On Mon, 4 Oct 2004, Jonathan Stickel wrote: > Jeff Newmiller wrote: > > I detest programs designed to behave this way... from "helpful" cpu status > > displays to "Did you really want to quit this program?" dialog boxes to > > "Your Windows resources are running low" to "We are backing up your > >

Re: GUI-unfriendliness (was Re: [vox-tech] "bring to front" X-window command)

2004-10-04 Thread Jonathan Stickel
Jeff Newmiller wrote: I detest programs designed to behave this way... from "helpful" cpu status displays to "Did you really want to quit this program?" dialog boxes to "Your Windows resources are running low" to "We are backing up your data... please wait" dialog boxes... they all suffer from eith

GUI-unfriendliness (was Re: [vox-tech] "bring to front" X-window command)

2004-10-04 Thread Jeff Newmiller
On Sat, 2 Oct 2004, Jonathan Stickel wrote: > Bill Kendrick wrote: > > On Sat, Oct 02, 2004 at 02:06:24PM -0700, Jonathan Stickel wrote: > > > >>Finally got around to trying this, and it does work directly in "simple" > >>windows managers (tested in openbox). However, it doesn't quite work in

Re: [vox-tech] "bring to front" X-window command

2004-10-02 Thread Mark K. Kim
On Sat, 2 Oct 2004, Jonathan Stickel wrote: > However, I would like to override this feature in my program so that the > window rises to the top no matter what the WM/DE trys to do. That seems to defeat the purpose of that feature in KDE which you're trying to override! > From what > I understan

Re: [vox-tech] "bring to front" X-window command

2004-10-02 Thread Jonathan Stickel
Bill Kendrick wrote: On Sat, Oct 02, 2004 at 02:06:24PM -0700, Jonathan Stickel wrote: Finally got around to trying this, and it does work directly in "simple" windows managers (tested in openbox). However, it doesn't quite work in KDE. Rather than the window coming to the top, the window's ent

Re: [vox-tech] "bring to front" X-window command

2004-10-02 Thread Bill Kendrick
On Sat, Oct 02, 2004 at 02:06:24PM -0700, Jonathan Stickel wrote: > Finally got around to trying this, and it does work directly in "simple" > windows managers (tested in openbox). However, it doesn't quite work in > KDE. Rather than the window coming to the top, the window's entry in > the ta

Re: [vox-tech] "bring to front" X-window command

2004-10-02 Thread Jonathan Stickel
Peter Jay Salzman wrote: Jon, your xlib calls are: XRaiseWindow(Display *display, Window w); XLowerWindow(Display *display, Window w); Finally got around to trying this, and it does work directly in "simple" windows managers (tested in openbox). However, it doesn't quite work in KDE. Rat

Re: [vox-tech] "bring to front" X-window command

2004-09-27 Thread Karsten M. Self
on Fri, Sep 24, 2004 at 11:24:21AM -0700, Jonathan Stickel ([EMAIL PROTECTED]) wrote: > Is there a command I can run from commandline, say from an xterm > (actually konsole), to select a certain window in an X-session (actually > KDE) and push it to the top? I'm doing some scripting and have a

Re: [vox-tech] "bring to front" X-window command

2004-09-25 Thread Mark K. Kim
On Fri, 24 Sep 2004, Bill Kendrick wrote: > You guys are making me want to code Xlib again, damnit! ;) Too bad... you sold me all your X books! =) Too bad I left all of 'em in the Bay Area... =P -Mark -- Mark K. Kim AIM: markus kimius Homepage: http://www.cbreak.org/ Xanga: http://www.xanga.c

Re: [vox-tech] "bring to front" X-window command

2004-09-24 Thread Bill Kendrick
On Fri, Sep 24, 2004 at 02:19:53PM -0700, Josh Parsons wrote: > Actually, this is not necessary to detect screen edges - that type of > information is available to every X client. The only special thing about > the window manager is that it has selected SubstructureRedirect events on > the root wi

Re: [vox-tech] "bring to front" X-window command

2004-09-24 Thread Josh Parsons
On Fri, 24 Sep 2004, Mark K. Kim wrote: > So there seems to be *some* facility for programs to request some sort of > shuffling to the window manager. XMMS even knows how to move itself and > detect screen edges, functions you'd think are only available to the > window manger... > Which is what

Re: [vox-tech] "bring to front" X-window command

2004-09-24 Thread Peter Jay Salzman
On Fri 24 Sep 04, 1:44 PM, Mark K. Kim <[EMAIL PROTECTED]> said: > On Fri, 24 Sep 2004, Peter Jay Salzman wrote: > > > Mark, I think that is true. Window stacking is a function of the window > > manager. Determining which part of a window needs to be refreshed when it > > gets 'dirty', I think,

Re: [vox-tech] "bring to front" X-window command

2004-09-24 Thread Jonathan Stickel
Mark K. Kim wrote: Maybe it sends signals to the window manager via X. Which is what Jonathan was looking for -- a non-WM-specific way to bring a window to the front. Something that works with ALL window managers (or at least the nicely behaving ones) that isn't E-specific or KDE-specific or wha

Re: [vox-tech] "bring to front" X-window command

2004-09-24 Thread Mark K. Kim
On Fri, 24 Sep 2004, Peter Jay Salzman wrote: > Mark, I think that is true. Window stacking is a function of the window > manager. Determining which part of a window needs to be refreshed when it > gets 'dirty', I think, is the responsibility of the wm. A window can request to the window manage

Re: [vox-tech] "bring to front" X-window command

2004-09-24 Thread Bill Kendrick
On Fri, Sep 24, 2004 at 12:53:03PM -0700, Mark K. Kim wrote: > I'm not sure if that's true. I'm sure at least a window can *request* to > be placed a certain way to the window manager. As an example, try > grabbing a window screen shot using Gimp or XV -- I think those apps bring > the window to

Re: [vox-tech] "bring to front" X-window command

2004-09-24 Thread Peter Jay Salzman
On Fri 24 Sep 04, 12:53 PM, Mark K. Kim <[EMAIL PROTECTED]> said: > On Fri, 24 Sep 2004, Jonathan Stickel wrote: > > > possible). I was hoping for a low level X-windows system call, but I > > just realized windows management is going to depend on the specific > > windows-manager. ;) Oh well. >

Re: [vox-tech] "bring to front" X-window command

2004-09-24 Thread Mark K. Kim
On Fri, 24 Sep 2004, Jonathan Stickel wrote: > possible). I was hoping for a low level X-windows system call, but I > just realized windows management is going to depend on the specific > windows-manager. ;) Oh well. I'm not sure if that's true. I'm sure at least a window can *request* to be p

Re: [vox-tech] "bring to front" X-window command

2004-09-24 Thread Jonathan Stickel
Bill Kendrick wrote: On Fri, Sep 24, 2004 at 11:24:21AM -0700, Jonathan Stickel wrote: Is there a command I can run from commandline, say from an xterm (actually konsole), to select a certain window in an X-session (actually KDE) and push it to the top? I'm doing some scripting and have a comma

Re: [vox-tech] "bring to front" X-window command

2004-09-24 Thread Bill Kendrick
On Fri, Sep 24, 2004 at 11:24:21AM -0700, Jonathan Stickel wrote: > Is there a command I can run from commandline, say from an xterm > (actually konsole), to select a certain window in an X-session (actually > KDE) and push it to the top? I'm doing some scripting and have a > command which esse

Re: [vox-tech] "bring to front" X-window command

2004-09-24 Thread Peter Jay Salzman
Well, you didn't ask, but for completeness of the thread, in Enlightenment, you can right-click on the titlebar and choose "Set Stacking" and choose "On Top". If anybody knows how to do it from the command line for Enlightenment, I'd like to know myself. :) Pete On Fri 24 Sep 04, 11:24 AM, Jon

[vox-tech] "bring to front" X-window command

2004-09-24 Thread Jonathan Stickel
Is there a command I can run from commandline, say from an xterm (actually konsole), to select a certain window in an X-session (actually KDE) and push it to the top? I'm doing some scripting and have a command which essentially seems to do a screen capture. I want it to capture the contents