[Spice-devel] Should we auto-redirect USB devices when we show the USB device selection menu?

Alon Levy alevy at redhat.com
Tue Feb 21 02:35:28 PST 2012


On Tue, Feb 21, 2012 at 11:09:49AM +0100, Hans de Goede wrote:
> Hi,
> 
> I'm working on some better / prettier error reporting for the usb device widget, and I
> was wondering should we auto-redirect newly plugged in USB devices when auto-redir
> is enabled and they get plugged on while showing the USB device selection menu?
> 
> Currently we do not do this since when we show the widget the SpiceDisplay widget does
> not have the keyboard focus.
> 

Yes? why not really, just because it's a little annoying to implement
since now you have to check keyboard focus not only on the spice widget
but on any widget or just the whole app (if there is such a notion in
gtk)? that sounds to me like the right approach - regardless of which
widget of the remote-viewer / spicy / client using spice-gtk widget is
currently in focus, we'd want auto-redir to work if selected.

> Regards,
> 
> Hans
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel


More information about the Spice-devel mailing list