From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <2084b8dca192f2bab8e3c71a6b8c7626@plan9.ucalgary.ca> To: 9fans@cse.psu.edu Subject: Re: [9fans] sokoban Date: Wed, 8 Sep 2004 22:21:43 -0600 From: andrey mirtchovski In-Reply-To: <253523780ab8a712cf3671b79ac1d28a@orthanc.cc.titech.ac.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: e07be592-eacd-11e9-9e20-41e7f4b1d025 > This is called as a hack. But is there an official way > to recognize the hiding in rio? > -- i think that's the only way. i had a look through rio's source before doing this and the window hide function sends a Resized message with ZR as the argument. ZR is the (undocumented) rectangle variant of ZP. even though you won't see it set anywhere in either rio or libdraw's sources, ZR = Rpt(ZP, ZP). i had hoped that eresized's 'new' argument would be set to 0 in the case of window hides but it's always 1. could that be a bug? andrey