Page 1 of 1

Set-visible without grabbing a focus

Posted: Fri Nov 30, 2007 3:38 pm
by Dmi
Can the new GS window be drawed on the top of the screen, but not focused?

I.e. as "background process" that not interrupts the user's current work with other applications and keyboard.

Posted: Fri Nov 30, 2007 4:18 pm
by Lutz
An already running GS application can pop up a window without grepping focus. I don't know what happens if a GS app is started by another program not by a user (when it would grep focus).

Lutz

Posted: Fri Nov 30, 2007 6:03 pm
by newdep
depends on the desktopmanager or WM you are using. For windows there is probably a trick in the REGS for this.. For unix you can overrule this from within 'Xdefaults' file ircc..Like "focus new window" or "Raise when popup"etc..

Posted: Sat Dec 01, 2007 7:44 pm
by Dmi
Lutz wrote:An already running GS application can pop up a window without grepping focus. I don't know what happens if a GS app is started by another program not by a user (when it would grep focus).
My case is when GS-app is already running. But how can it be done? - I didn't found in manual.

Posted: Sat Dec 01, 2007 8:21 pm
by Lutz
There is nothing you have to do. When a newLISP-GS application is running, and a second application has focus, and suddenly the newLISP-GS app is popping up a window, the window will not grep the focus, but the focus will stay in the second application.

Lutz

Posted: Mon Dec 03, 2007 4:31 pm
by Dmi
Thanks!

gs:window works fine in linux and win.