On Fri, 2017-04-28 at 10:56 +0200, Christophe Fergeau wrote: > On Thu, Apr 27, 2017 at 07:21:39PM +0200, Pavel Grunt wrote: > > In a multimonitor environment can easily happen that a cursor is > > set > > before some of the SpiceDisplays are created. IOW the first > > created > > SpiceDisplay has the cursor but others don't. > > > > To avoid the issue check for the cursor in SpiceChannelCursorGtk. > > Do you know if it can happen when enabling an additional display? remote-viewer is designed in a way that it creates all the display widgets at once, so it is not related to enabling the additional display. Basically there may be a race between the widget creation and the emission of the "cursor-set" signal. 1st widget created - no initial cursor "cursor-set" signal cursor created only for the 1st widget (other widgets do not exist) 2nd widget created - no initial cursor Pavel > Or > will it only happen at startup? If it cannot happen when enabling an > additional display, any idea why? I guess because this always come > with > a cursor-set message for some reason? > > Christophe _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel