From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <440EDF67.7010500@free.fr> Date: Wed, 8 Mar 2006 14:43:03 +0100 From: Philippe Anel User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [9fans] rio bottom wctl cmd ... Topicbox-Message-UUID: 0faeeb40-ead1-11e9-9d60-3106f5b1d025 Hello, While adding a 'bottom' entry to the rio menu3 (in order to move the clicked window to the *bottom*), I realized something already well documented : rio(4): The top and bottom commands do not change whether the window is current or not; the others always make the affected window current. So if the *current* window is moved to the *bottom*, it means that window will still be the recipient of keyboard and mouse input ... even behind other windows (i mean partially or totally hidden). In that case, we can't *top* another window, say one of those in front of the *current* *bottom* window, with a button click (Wakeup). I find that feature ... disconcerting. I suggest to patch rio in order to raise the right window when clicking, even if the *bottom*'ed window is still the recipient of inputs. I think reordeing the window array (see dat:319) would be sufficient. Any idea ? Phil;