From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <2ee4ca55868f2b2bdacb74266d5e6ebf@plan9.escet.urjc.es> To: 9fans@cse.psu.edu Subject: Re: [9fans] cooked mouse mode. From: Gorka Guardiola Date: Fri, 14 Jan 2005 16:06:25 +0100 In-Reply-To: <28517e1814f4421581e238eed262c9ba@vitanuova.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 3094d5a2-eace-11e9-9e20-41e7f4b1d025 >> We will have to rewrite the state to make it per-mousectl in order to >> make multiple mouses possible (ouch!!), so we will consider all this. > > surely the state can just be a local variable in the > function/thread doing the mouse processing? > > does it need to know about Mousectl at all? Hmm. I am not sure. There is more than one thread/function doing the processing. For example, there is thread sending time events. Anyway it is one per mousectl wherever it goes. G.