Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Thorny WM problem

20 views
Skip to first unread message

Michel Bardiaux

unread,
Mar 8, 2007, 9:33:14 AM3/8/07
to
Short version: I have to implement something very similar to making a
click in an URL in a mail message, cause the browser to open on that
page. From that description, it is clearly possible since
thunderbird+firefox can do it.

Now for the tricky details: the jump is ordered by a click on a button
in a Tcl/Tk (ie, wish) application. Ex hypothesis, at that time, the
'searcher' is on top and has focus (you can assume the click-to-type
focus mode in the WM, which BTW is KDM of KDE3). At that time, it
dumps the url in a well-known file.

You can also assume the 'browser' (written using OpenMotif 2.1) is
already started, and monitoring the file for changes. When it sees a
change, it will load and display the 'page' (without opening a new
window). During loading a modal progress dialog is on screen.

Currently the behaviour is that the browser comes on top (WM-wise)
during load, but immediately after the 'searcher' comes *back* on top,
having focus.

What I would like, of course, is that the 'browser' should have focus
and be on top.

No entry in the Motif FAQ about FOCUS seems to help. I have tried
XReconfigureWMWindow in the browser, no cigar.

I *could* of course try and look in the zilla sources how they do it
on Linux, but they are probably huge.

If you dont know the recipe to do what I need, the indication of an
Open-Source X-based application that is able to give itself the focus
and pop up on top, would help.

TIA.

mcarmen...@gmail.com

unread,
Sep 13, 2012, 10:43:06 AM9/13/12
to
Hello,

Did you finally get the solution?
Thanks,

Maria.

Chris Sorenson

unread,
Sep 22, 2012, 5:45:20 PM9/22/12
to
On Thursday, March 8, 2007 8:33:14 AM UTC-6, Michel Bardiaux wrote:
>
> No entry in the Motif FAQ about FOCUS seems to help. I have tried
> XReconfigureWMWindow in the browser, no cigar.
>

You could try XRestackWindows or, if you're really desperate, XRaiseWindow...
0 new messages