Skip tasklist/pager window loses focus
Olivier Fourdan
fourdan at gmail.com
Fri Feb 5 16:40:49 CET 2016
Hi,
Yeah, you'll end up fighting the WM by doing this.
BTW, this behavior is on purpose, you'd have to ask why your window needs
to have the skip pager/taskbar attributes if it's to be focused
automatically.
Cheers,
Olivier
On 5 February 2016 at 16:36, adlo <adloconwy at gmail.com> wrote:
> My program is written in GTK (2 and 3). I have tried calling
> gdk_window_focus () when the active workspace changes, by connecting to
> libwnck's active-workspace-changed signal. This usually works, but I think
> it results in a race condition. Does anyone know of a better approach?
>
> Regards
>
> adlo
>
>
> > On 4 Feb 2016, at 21:23, adlo <adloconwy at gmail.com> wrote:
> >
> > My program has a window that is skip tasklist, skip pager, and visible
> on all workspaces. When switching workspace (or when another window moves
> to the current workspace), a non-skip-tasklist window will steal the focus
> from my program's window.
> >
> > How can I prevent this from happening?
> >
> > Regards
> >
> > adlo
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce4-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.xfce.org/pipermail/xfce4-dev/attachments/20160205/71bd4c13/attachment.html>
More information about the Xfce4-dev
mailing list