On 1.7.5, each time a device gets detached, the server logs the following messages: [mi] miSpriteRealizeCursor called for floating device. [mi] miSpriteSetCursor called for floating device. [mi] miSpriteSetCursor called for floating device. [mi] miSpriteRealizeCursor called for floating device. [mi] miSpriteSetCursor called for floating device. [mi] miSpriteRealizeCursor called for floating device. [mi] miSpriteSetCursor called for floating device. [mi] miSpriteRealizeCursor called for floating device. [mi] miSpriteSetCursor called for floating device. This creates a significant amount of log traffic in combination with XI2 button grabs on SDs. I'm attaching a patch that was created by trial-and-error using gdb, but I am by no means claiming that this is the right way to go about it. I've only tested this on 1.7.5, apologies if this has been fixed on master.
Created attachment 33691 [details] [review] patch
hmm, i wonder if it would be easier to just remove the error messages - they don't really serve much purpose at this point (this is quite old code). it would have the benefit of making the caller's code easier to read too.
Sorry, I missed your comment somehow. Removing the warnings sounds reasonable to me, but it's your call.
Claiming this is closed since I haven't seen this in a while. Please reopen if it's still here.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.