Always on Top

Olivier Fourdan fourdan at xfce.org
Sun Nov 19 10:56:59 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Olivier Fourdan wrote:
> 
> Hi,
> 
> Odenthal, James P wrote:
> 
>>> However in XFCE 4.2.2, wmxf4;  The visibility event is working; but the
>>> gtk_window_present() seems to have no effect. The window that I need
>>> always on top remains under the other dialog.
>>>  
>>> My customer will not tolerate her window covered.  Any suggestions?
> 
> You may try calling gdk_window_raise(widget->window) yourself.
> 
> BTW, if you could provide a small test program that exhibits the
> problem, I'd like to investigate this a bit...

Note that I can't get the visibility-notify to work (that's why I'd like
to get your sample code), but gtk_window_present() does properly raise
and focus the window in both xfwm4 4.2 and 4.4 here (see attached sample
code that raise the window on enter event, ie, move the pointer inside
the window and it gets raised).

I've also tried metacity 2.16 and 2.17.1 and both work similarily to xfwm4.

PS: You should move this thread to <xfce4-dev at xfce.org>

HTH
Olivier.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFYCpqFHBtvh5LRUARAtzxAKCn/hoxJFQwumis7wPvXUgQmb7XTgCg2AKm
zp5/N0/IDtpUd9cd9GTRhAs=
=hFSr
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unobscure-present.c
Type: text/x-csrc
Size: 1139 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce/attachments/20061119/d27c79e8/attachment.c>


More information about the Xfce mailing list