focus stealing prevention in xfdesktop
Brian J. Tarricone
bjt23 at cornell.edu
Fri Feb 24 22:48:08 CET 2006
-----BEGIN PGP SIGNED MESSAGE-----
Olivier Fourdan wrote:
> 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)
Hehe, no worries. At least we figured it out. Works like a charm from
here, at least.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Xfce4-dev