focus stealing prevention in xfdesktop
Olivier Fourdan
fourdan at xfce.org
Fri Feb 24 22:21:38 CET 2006
Hey Brian,
Brian J. Tarricone wrote:
> This doesn't seem to be helping. FYI, I'm using the backdrop settings
> dialog as a test, starting it from the right-click desktop menu. I
> tried two things:
>
> 1) Call gdk_x11_window_set_user_time() right after calling
> gtk_widget_show() on the backdrop settings dialog.
>
> 2) Connect to the backdrop settings dialog's map-event signal, and call
> gdk_x11_window_set_user_time() in there.
>
> With either one, I get the same annoying focus problem. I figured out
> how to reproduce it 100% of the time.
You neet do to set the user_time prior to show the widget. But that
requires a fix in the WM too (yeah, stupid me who means something and
implements the contrary), so better update to the revision r20034 (which
also includes a sample with xfwm4 plugins)
HTH
Cheers,
Olivier.
More information about the Xfce4-dev
mailing list