Set-visible without grabbing a focus

Started by Dmi, November 30, 2007, 07:38:20 AM

Previous topic - Next topic

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.
WBR, Dmi

Lutz

#1
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

newdep

#2
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..
-- (define? (Cornflakes))

Dmi

#3
Quote from: "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).

My case is when GS-app is already running. But how can it be done? - I didn't found in manual.
WBR, Dmi

Lutz

#4
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

Dmi

#5
Thanks!



gs:window works fine in linux and win.
WBR, Dmi