From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] oneko for rio From: rog@vitanuova.com MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20010426095527.74B8519A18@mail.cse.psu.edu> Date: Thu, 26 Apr 2001 11:02:32 +0100 Topicbox-Message-UUID: 904b3810-eac9-11e9-9e20-41e7f4b1d025 > on plan 9 this should be trivial (read 'hello world'). actually, i doubt if it would be so entirely trivial, as it's not that easy to get the current position of the mouse cursor outside the current window. you could get around this by writing a little file server (easiest using lib9p) that serves not only /dev/mouse, but /dev/mouse2 as well; it would have to be run before rio (or run rio inside a rio window) then oneko would be able to get the current mouse position from /dev/mouse2, despite the fact that rio had covered up /dev/mouse with its own version. window position information is trivially found in /dev/wsys/*/wctl maybe i'm missing something.