Help needed: how to make window visible
Stefan Stuhr
xfce4devlist at sstuhr.dk
Thu May 18 17:35:28 CEST 2006
tor, 18 05 2006 kl. 16:24 +0300, skrev juha:
> Hi !
>
> I give up. Please give me a hint what I am doing wrong
> or if this is just mission impossible.
>
> I try to make calendar window visible to the user using the
> following code:
>
[...]
>
> But it does _not_ work _if_ I set "Activate focus stealing prevention"
> active. Without this it works 100 % and with it, it works 80 % of time.
>
> Is that ok? any workarounds?
The following line is
from /xfce-mcs-manager/trunk/xfce-mcs-manager/xfce-mcs-dialog.c:
gdk_x11_window_set_user_time (GTK_WIDGET (dlg)->window, gdk_x11_get_server_time (GTK_WIDGET (dlg)->window));
I believe that this is the line that makes the xfce-mcs-manager dialog
work correctly with focus stealing prevention activated in Xfwm4.
Stefan
More information about the Xfce4-dev
mailing list