From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: *** X-Spam-Status: No, score=3.7 required=5.0 tests=BULK_RE_SUSP_NTLD,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,PDS_OTHER_BAD_TLD autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 16664 invoked from network); 13 Jul 2021 16:13:16 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 13 Jul 2021 16:13:16 -0000 Received: from out0.migadu.com ([94.23.1.103]) by 1ess; Tue Jul 13 11:28:03 -0400 2021 Message-ID: <27D97B0487ED5A79DAD38AC1FED90BDD@qak> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=a-b.xyz; s=key1; t=1626190076; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to; bh=vnoX4gXka2x6D5ZiLkx3gJp5bjN2MofjFrRNpV9Vmuw=; b=TO5ThtInt24mWUDXg/xMmZPZX4o7Mnblr769S2SzHD0KqXMsF5jTW6jidOCe+CMQZrEVOY +s4mS3y3A1pDIwqBflw8BszQXONckBarMEgF66nTLdYON65och0QmoY57RKazrpGH10bzA p8NdDWsdJCZjbRC0Zgl6lOrgpJ6cLSTqCNTg6VmQ1zFGqvvYLCZtoP+oS0k9flnH62ODI4 vPxQCJxbFYPc9sLQt/Sbx8Q0WEzJ6j5mfA3EGcXAPjfC+lW337LgZ6iGxoAlgKrnTpX9cA iCGvmOxvidwvPK00UOLMSXVIgeiVaXOEAaqr9lEWfojt0sLIZqgA+depBcq9/w== To: 9front@9front.org Date: Tue, 13 Jul 2021 17:27:53 +0200 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: kvik@a-b.xyz In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: kvik@a-b.xyz List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: private firewall realtime realtime-scale map/reduce method pipelining-scale backend Subject: Re: [9front] Mouse clipping patch Reply-To: 9front@9front.org Precedence: bulk > How do you get keyboard commands into the inner rio? Same as you do mouse commands: you pass them in based on some sort of focus. The only difference is the focus mechanism, which must be something other than the cursor position for the keyboard commands. For example, I use sigrid's riow manager with plenty of subrios and it works fine. The focus mechanism used is based on window labels: if the window has a label starting with "rio:" then the outer rio doesn't "spill" the prefixed key events into its own riow instance but passes them as usual to the inner rio, which can do the same again. The label mechanism *is* hacky and it's just something that I implemented on the spot to do what I wanted. There's no inherent reason that something more graceful couldn't be done.